Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11481] CLI: Unable to build a project on Linux

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-11-02T22:42:54.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, 2012 Sprint 21 JS, 2012 Sprint 21
ComponentsTooling
Labelsqe-cli
ReporterTamila Smolich
AssigneeChris Barber
Created2012-10-13T22:03:23.000+0000
Updated2012-11-02T22:42:54.000+0000

Description

Description: Unable to build a project on Linux. Path for "base" in .js files should be case sensitive, but it's not. Getting an error: [ERROR] Error: Cannot find module '../base' at Function.Module._resolveFilename [as _resolveFilename] (module.js:338:15) at Function.Module._load [as _load] (module.js:280:25) at Module.Module.require [as require] (module.js:362:17) at require (module.js:378:17) at Object. (/home/tester/.titanium/mobilesdk/linux/3.0.0.v20121012174449/node_modules/titanium-code-processor/lib/rules/while.js:40:9) at Module.Module._compile [as _compile] (module.js:449:26) at Object.Module._extensions..js [as .js] (module.js:467:10) at Module.Module.load [as load] (module.js:356:32) at Function.Module._load [as _load] (module.js:312:12) at Module.Module.require [as require] (module.js:362:17) [ERROR] Unable to find command "build" Steps: 1. Run "titanium build -b" command Expected: Should build successfully Actual: Getting an error

Comments

  1. Chris Barber 2012-10-13

    Pull request: https://github.com/appcelerator/titanium-code-processor/pull/19
  2. Tamila Smolich 2012-10-18

    Reopening the bug. Getting the same error massage while trying to build a project. Tested on: Linux 10.04 SDK: 3.0.0.v20121017192538
  3. Tamila Smolich 2012-10-18

    Closing as fixed. Tested on: Linux-Ubuntu 10.04 LTS SDK: 3.0.0.v20121017192538

JSON Source