{ "id": "126583", "key": "AC-2249", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-02-20T03:22:52.000+0000", "created": "2014-02-19T09:47:15.000+0000", "labels": [ "cli", "crash", "critical", "ios", "mobile", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:15.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "On 3.2.1 the CLI breaks with the following error:\r\n\r\nIt is for all of my projects (including new and old ones). Nothing works. It seems to be the same as:\r\n\r\nhttps://developer.appcelerator.com/question/162491/none-of-my-projects-work-after-update-to-321ga\r\n\r\n(However all of the comments there are related to other bugs not this one)\r\n\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'properties' of undefined\r\n at iOSBuilder.validate (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/commands/_build.js:825:58)\r\n at exports.validatePlatformOptions (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/titanium-sdk/lib/titanium.js:615:69)\r\n at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/cli/commands/build.js:192:19\r\n at callCommandValidate (/usr/local/lib/node_modules/titanium/lib/cli.js:830:7)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:548:21\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:224:13\r\n at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:131:13)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:142:25\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:17\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:553:34\r\n---------------------------------------------\r\n at run (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/iphone/cli/lib/detect.js:410:9\r\n at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:511:21\r\n at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:227:13\r\n at ~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:111:13\r\n at Array.forEach (native)\r\n at _each (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:32:24)\r\n at async.each (~/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.GA/node_modules/async/lib/async.js:110:9)", "attachment": [ { "id": "46063", "filename": "ti.config", "author": { "name": "ffadaie", "key": "ffadaie", "displayName": "farid fadaie", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T01:43:46.000+0000", "size": 1101, "mimeType": "application/octet-stream" }, { "id": "46064", "filename": "ti.info", "author": { "name": "ffadaie", "key": "ffadaie", "displayName": "farid fadaie", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T01:43:46.000+0000", "size": 13778, "mimeType": "application/octet-stream" }, { "id": "46062", "filename": "ti.sdk", "author": { "name": "ffadaie", "key": "ffadaie", "displayName": "farid fadaie", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T01:43:45.000+0000", "size": 537, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "CLI 3.3.0 does not work with SDK 3.2.1 ", "creator": { "name": "ffadaie", "key": "ffadaie", "displayName": "farid fadaie", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ffadaie", "key": "ffadaie", "displayName": "farid fadaie", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "ios", "comment": { "comments": [ { "id": "293776", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you please attach the output of the following commands:\n\n1. ti info\n2. ti config\n3. ti.sdk", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-19T17:55:13.000+0000", "updated": "2014-02-19T17:55:13.000+0000" }, { "id": "293864", "author": { "name": "ffadaie", "key": "ffadaie", "displayName": "farid fadaie", "active": true, "timeZone": "America/Los_Angeles" }, "body": "attached.", "updateAuthor": { "name": "ffadaie", "key": "ffadaie", "displayName": "farid fadaie", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T01:43:56.000+0000", "updated": "2014-02-20T01:43:56.000+0000" }, { "id": "293869", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It appears that you are using CLI 3.3.0 with SDK 3.2.1 here. CLI 3.3.0 is under development and not supported so we would recommend you to install CLI 3.2.1 and let us know if the issue persists.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T02:56:23.000+0000", "updated": "2014-02-20T02:56:23.000+0000" }, { "id": "293871", "author": { "name": "ffadaie", "key": "ffadaie", "displayName": "farid fadaie", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It's strange. I uninstalled (and removed everything) and installed everything fresh (with all default components). That probably means that you are/were shipping 3.3.0 at some point on your main page (or auto-update system).\r\n\r\nbut installing 3.2.1 actually fixed it.\r\n\r\nThanks.", "updateAuthor": { "name": "ffadaie", "key": "ffadaie", "displayName": "farid fadaie", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T03:00:28.000+0000", "updated": "2014-02-20T03:04:10.000+0000" }, { "id": "293873", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "You can manually install CLI 3.2.1 by using the following command:\n\nnpm install -g titanium@3.2.1", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T03:03:50.000+0000", "updated": "2014-02-20T03:03:50.000+0000" }, { "id": "293877", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as reporter has confirmed that CLI 3.2.1 works fine with SDK 3.2.1.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T03:22:52.000+0000", "updated": "2014-02-20T03:22:52.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }