[TIMOB-11326] CLI: Cannot run setup
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-11-02T19:09:23.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.0, 2012 Sprint 21 JS, 2012 Sprint 21 |
Components | Tooling |
Labels | js, qe-cli |
Reporter | Natalie Huynh |
Assignee | Chris Barber |
Created | 2012-10-09T21:12:15.000+0000 |
Updated | 2012-11-02T19:09:45.000+0000 |
Description
Steps To Reproduce:
1. Run "titanium setup" in terminal
Actual Result:
/usr/local/lib/node_modules/titanium/node_modules/longjohn/index.js:111
throw e;
^
TypeError: Cannot read property 'sdkPath' of undefined
at exports.run (/usr/local/lib/node_modules/titanium/lib/commands/setup.js:164:29)
at exports.detect (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/ios.js:190:3)
at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:190:13)
at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:94:25)
at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:187:17)
at async.parallel.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:459:34)
at exports.detect.async.parallel.provisioningProfiles.adhoc (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/ios.js:128:5)
at ChildProcess.exithandler (child_process.js:536:7)
at ChildProcess.EventEmitter.emit [as emit] (events.js:96:17)
---------------------------------------------
at Object.exports.execFile [as execFile] (child_process.js:594:9)
at exports.exec (child_process.js:481:18)
at /usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/ios.js:100:4
at async.parallel.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:454:21)
at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13)
at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13)
at Array.forEach (native)
at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)
Expected Result:
To go through the set up process
Tested with CLI 3.0.6 SDK 3.0.0.v20121017192538 Mac 10.7.5