Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[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 Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-11-02T19:11:01.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, 2012 Sprint 21 JS, 2012 Sprint 21
ComponentsTooling
Labelsqe-cli
ReporterMichael Pettiford
AssigneeChris Barber
Created2012-10-13T20:31:28.000+0000
Updated2012-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

Comments

  1. Natalie Huynh 2012-10-18

    Tested with CLI 3.0.6 SDK 3.0.0.v20121017192538 Win 7 and Linux

JSON Source