[TIMOB-11474] CLI - setup : When running the titanium setup command on Windows 7 and Ubuntu an error is returned "TypeError: Cannot read property 'certs' of undefined 0"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-11-02T19:11:01.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 | qe-cli |
Reporter | Michael Pettiford |
Assignee | Chris Barber |
Created | 2012-10-13T20:31:28.000+0000 |
Updated | 2012-11-02T19:11:01.000+0000 |
Description
Steps to reproduce:
1. Create a new Titanium project with the Titanium create command
2. cd into that directory
3. Run the Titanium setup command
Actual result:
The following error is returned
*Note* This is probably because this command is being run on non OSX computers
TypeError: Cannot read property 'certs' of undefined 0 [ 'TypeError: Cannot read property \'certs\' of undefined',
' at exports.run (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\commands\\setup.js:36:18)',
' at Object.exports.detect [as detect] (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\node-appc\\lib\\ios.js:18
Expected result:
The Titanium setup command runs succesfully
Tested with CLI 3.0.6 SDK 3.0.0.v20121017192538 Win 7 and Linux