{ "id": "144405", "key": "TIMOB-18538", "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": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-13T08:04:17.000+0000", "created": "2015-02-09T16:43:45.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" } ], "issuelinks": [ { "id": "46346", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "145296", "key": "TIMOB-18628", "fields": { "summary": "Update the node version in vendorDependencies in the package.json", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "46345", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "145299", "key": "TIMOB-18629", "fields": { "summary": "CLI: Warn if using an unsupported Node version", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "46016", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "144726", "key": "TIMOB-18574", "fields": { "summary": "iOS: Unable to build to iOS sim or device (on Node 0.12)", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "46493", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "144971", "key": "TIMOB-18594", "fields": { "summary": "Cannot build after upgrade to 3.5.0", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2017-03-16T22:21:14.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Node 0.12 has been released. The Titanium CLI is not compatible:\r\n\r\n{code}\r\n≫ ti setup\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185\r\n throw e;\r\n ^\r\nChildProcess.emit (events.js:110:17),maybeClose (child_process.js:1008:16),Socket. (child_process.js:1176:11),Socket.emit (events.js:107:17),Pipe.close (net.js:476:12)\r\n{code}\r\n\r\nTo test:\r\n\r\n1. Install Node 0.12 (or use a node version manager like {{n}} and set your current version to 0.12)\r\n2. Run a {{ti}} command, such as {{ti setup check}} or {{ti info}}\r\n\r\nPerhaps related to async processing or spawning child processes. Enter {{ti setup}} choose option 2 (or type {{k}}), fails. Choose option 2 again, fails. Choose it a third time and it works; you get the setup check info. However, it doesn't detect my JDK and therefore my Android SDK info. ", "attachment": [], "flagged": false, "summary": "CLI: Fix incompatibilities with Node 0.12", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 319, "state": "closed", "name": "2015 Sprint 03 Tooling", "startDate": "2015-01-31T03:56:17.033Z", "endDate": "2015-02-14T02:30:00.000Z", "completeDate": "2015-02-14T02:18:47.439Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "342547", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Smells like LiveView.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-02-09T16:55:53.000+0000", "updated": "2015-02-09T16:55:53.000+0000" }, { "id": "342556", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "When we try to get the info for iOS and Android, Node process either crashes or terminate with a error.\r\n\r\n{code}\r\ntitanium info -t ios -o json\r\n{code}", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-02-09T17:26:41.000+0000", "updated": "2015-02-09T17:26:41.000+0000" }, { "id": "342570", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Note: NodeJS 0.11.14 works fine, 0.11.15 fails with same errors as noted above for 0.12.0", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-09T17:49:05.000+0000", "updated": "2015-02-09T17:49:05.000+0000" }, { "id": "342659", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Fix is in node-appc\r\n\r\nFixes will need to be merged / applied in this order:\r\n\r\nnode-appc PR: https://github.com/appcelerator/node-appc/pull/105 (merged)\r\n\r\nTitanium CLI PR: https://github.com/appcelerator/titanium/pull/188 (merged)\r\n\r\nnode-ios-device PR: https://github.com/appcelerator/node-ios-device/pull/2 (ready for npm publish)\r\n\r\nioslib PR: https://github.com/appcelerator/ioslib/pull/11 (ready to merge, npm publish)\r\n\r\nTitanium SDK PR: https://github.com/appcelerator/titanium_mobile/pull/6628 (ready to merge, waiting on npm publish of components)\r\n", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-09T22:01:15.000+0000", "updated": "2015-02-12T16:45:51.000+0000" }, { "id": "342794", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Functional review steps:\r\n\r\n1. Install Node 0.12 or use a node version manager such as https://www.npmjs.com/package/n \r\n2. Install the Titanium CLI from master {{sudo npm install -g git://github.com/appcelerator/titanium.git}}\r\n3. Build the SDK from the PR above, install, and set it as your default SDK\r\n4. Download the ioslib and node-ios-device repos and copy their files to the matching locations within your installed copy (not your repo) of the SDK that you installed in the preceding step.\r\n5. Run some Ti CLI commands: {{ti info}}, {{ti setup}}, {{ti sdk select}}, etc.\r\n6. Due to TIMOB-18546 (LiveView not compatible with Node 0.12), either {{liveview rm clihook}} or edit your ~/.titanium/config.json file and remove the com.appcelerator.titanium.liveview entry from the hooks section to disable LiveView.\r\n7. Build a project (make sure to set its tiapp.xml to 4.0.0).", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-10T18:24:57.000+0000", "updated": "2015-02-11T20:36:15.000+0000" }, { "id": "342910", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Can you review even without the LiveView fix (in the related ticket)?", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-11T15:36:21.000+0000", "updated": "2015-02-11T15:36:21.000+0000" }, { "id": "343241", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-02-13T08:04:17.000+0000", "updated": "2015-02-13T08:04:17.000+0000" }, { "id": "413320", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:21:14.000+0000", "updated": "2017-03-16T22:21:14.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }