{ "id": "151731", "key": "TIMOB-19670", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-10-05T19:26:32.000+0000", "created": "2015-10-05T19:19:51.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-17T18:03:34.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": "on NodeJS v4.1.1, when running a sample app using `ti build -p ios`I get this:\r\n\r\n{code}\r\nError: Cannot find module '/Users/rickblalock/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/sqlite3/lib/binding/node-v46-darwin-x64/node_sqlite3.node'\r\n at Function.Module._resolveFilename (module.js:336:15)\r\n at Function.Module._load (module.js:286:25)\r\n at Module.require (module.js:365:17)\r\n at require (module.js:384:17)\r\n at Object. (/Users/rickblalock/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/sqlite3/lib/sqlite3.js:4:15)\r\n at Module._compile (module.js:434:26)\r\n at Object.Module._extensions..js (module.js:452:10)\r\n at Module.load (module.js:355:32)\r\n at Function.Module._load (module.js:310:12)\r\n at Module.require (module.js:365:17)\r\n at require (module.js:384:17)\r\n---------------------------------------------\r\n at Object.run (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:59:8)\r\n at find (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:96:14)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:945:13\r\n at Immediate.q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:913:25)\r\n at processImmediate [as _immediateCallback] (timers.js:374:17)\r\n---------------------------------------------\r\n at Object.setImmediate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:200:9)\r\n at _insert (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:861:19)\r\n at Object.q.push (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:888:17)\r\n at Object.findExecutable (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:113:8)\r\n at resolveNode (/usr/local/lib/node_modules/titanium/lib/titanium.js:97:34)\r\n at /usr/local/lib/node_modules/titanium/lib/titanium.js:74:5\r\n at Object. (/usr/local/lib/node_modules/titanium/lib/titanium.js:80:2)\r\n at Module._compile (module.js:434:26)\r\n at Object.Module._extensions..js (module.js:452:10)\r\n{code}", "attachment": [], "flagged": false, "summary": "NodeJS 4.1.1 Doesn't work with Titanium", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "365831", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium SDK 5.0.x and older do not support Node.js 4 or io.js.\r\n\r\nHere's the PRs that would have prevented this issue:\r\n* https://github.com/appcelerator/titanium_mobile/pull/7151\r\n* https://github.com/appcelerator/titanium_mobile/pull/7162\r\n* https://github.com/appcelerator/titanium_mobile/pull/7188", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-10-05T19:26:32.000+0000", "updated": "2015-10-05T19:26:32.000+0000" }, { "id": "413520", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:03:34.000+0000", "updated": "2017-03-17T18:03:34.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }