{ "id": "102985", "key": "TIMOB-11326", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14167", "description": "2012 Sprint 21 JS", "name": "2012 Sprint 21 JS", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-02T19:09:23.000+0000", "created": "2012-10-09T21:12:15.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "js", "qe-cli" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-11-02T19:09:45.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "Steps To Reproduce:\r\n1. Run \"titanium setup\" in terminal\r\n\r\nActual Result:\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/index.js:111\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'sdkPath' of undefined\r\n at exports.run (/usr/local/lib/node_modules/titanium/lib/commands/setup.js:164:29)\r\n at exports.detect (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/ios.js:190:3)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:190:13)\r\n at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:94:25)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:187:17)\r\n at async.parallel.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:459:34)\r\n at exports.detect.async.parallel.provisioningProfiles.adhoc (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/ios.js:128:5)\r\n at ChildProcess.exithandler (child_process.js:536:7)\r\n at ChildProcess.EventEmitter.emit [as emit] (events.js:96:17)\r\n---------------------------------------------\r\n at Object.exports.execFile [as execFile] (child_process.js:594:9)\r\n at exports.exec (child_process.js:481:18)\r\n at /usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/ios.js:100:4\r\n at async.parallel.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:454:21)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13)\r\n at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13)\r\n at Array.forEach (native)\r\n at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)\r\n\r\nExpected Result:\r\nTo go through the set up process", "attachment": [], "flagged": false, "summary": "CLI: Cannot run setup", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac 10.7\r\nSDK: 3.0.0.v20121009111437", "comment": { "comments": [ { "id": "224318", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with \r\nCLI 3.0.6\r\nSDK 3.0.0.v20121017192538\r\nMac 10.7.5", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-18T21:55:36.000+0000", "updated": "2012-10-18T21:55:36.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }