{ "id": "134014", "key": "AC-1292", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-01T17:40:48.000+0000", "created": "2014-08-01T03:29:01.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "39500", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "134048", "key": "TISTUD-6759", "fields": { "summary": "Studio should prompt for new node.js version updates", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "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": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:41.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "I tried to update Node.ACS but each time the update failed with the following error message: \"Failed to install acs. Please see the Studio log for more information\"\r\n\r\nLog file:\r\nnpm ERR! System Darwin 13.3.0\r\nnpm ERR! command \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"-g\" \"install\" \"acs\" \"--color\" \"false\"\r\nnpm ERR! cwd /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS\r\nnpm ERR! node -v v0.8.22\r\nnpm ERR! npm -v 1.2.14\r\nnpm ERR! type non_object_property_call\r\nnpm ERR! addLocalDirectory Could not pack \"/Users/shreyan/tmp/npm-18418/1406862733664-0.41247094329446554/package\" to \"/Users/shreyan/.npm/acs/1.0.15/package.tgz\"\r\nnpm ERR! SyntaxError: Unexpected token <\r\nnpm ERR! at Object.parse (native)\r\nnpm ERR! at Packer.readRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:189:33)\r\nnpm ERR! at Packer.IgnoreReader.addIgnoreFile (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:132:22)\r\nnpm ERR! at fs.readFile (fs.js:176:14)\r\nnpm ERR! at Object.oncomplete (fs.js:297:15)\r\nnpm ERR! If you need help, you may report this log at:\r\nnpm ERR! \r\nnpm ERR! or email it to:\r\nnpm ERR! \r\n\r\nnpm ERR! System Darwin 13.3.0\r\nnpm ERR! command \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"-g\" \"install\" \"acs\" \"--color\" \"false\"\r\nnpm ERR! cwd /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS\r\nnpm ERR! node -v v0.8.22\r\nnpm ERR! npm -v 1.2.14\r\nnpm ERR! file /Users/shreyan/tmp/npm-18418/1406862733664-0.41247094329446554/package/lib/templates/free/package.json\r\nnpm ERR! path /Users/shreyan/tmp/npm-18418/1406862733664-0.41247094329446554/package/lib/templates/free\r\nnpm ERR! type unexpected_token\r\nnpm ERR! fstream_path /Users/shreyan/tmp/npm-18418/1406862733664-0.41247094329446554/package/lib/templates/free\r\nnpm ERR! fstream_type Directory\r\nnpm ERR! fstream_class Packer\r\nnpm ERR! fstream_stack Packer.readRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:192:10)\r\nnpm ERR! fstream_stack Packer.IgnoreReader.addIgnoreFile (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:132:22)\r\nnpm ERR! fstream_stack fs.readFile (fs.js:176:14)\r\nnpm ERR! fstream_stack Object.oncomplete (fs.js:297:15)\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR! /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/npm-debug.log\r\nnpm ERR! not ok code 0\r\n\r\n!ENTRY com.appcelerator.titanium.update.core 4 4 2014-07-31 20:12:15.028\r\n!MESSAGE Error encountered during update\r\n!SUBENTRY 1 com.aptana.js.core 4 0 2014-07-31 20:12:15.028\r\n!MESSAGE Failed to install acs. Please see the Studio log for more information.\r\n", "attachment": [], "flagged": false, "summary": "Can't Install Node.ACS update", "creator": { "name": "S_Jain", "key": "s_jain", "displayName": "Shreyan Jain", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "S_Jain", "key": "s_jain", "displayName": "Shreyan Jain", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS X Mavericks", "comment": { "comments": [ { "id": "316634", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you please paste the output of /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/npm-debug.log?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-01T11:31:25.000+0000", "updated": "2014-08-01T11:31:25.000+0000" }, { "id": "316644", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Looks you have a old version of node : v0.8.22 installed on your machine. According to the http://docs.appcelerator.com/titanium/3.0/#!/guide/Titanium_Compatibility_Matrix-section-29004837_TitaniumCompatibilityMatrix-Node.js, the minimum supported Node version is 0.10.13 or later.\r\n\r\nCurrently Studio doesn't check for any updates for Node if it is already installed on the machine - We will address this in the next release. For now, can you upgrade your Node version (to 0.10.13 or later: http://nodejs.org/download/) and verify that will help to address the installation with Node.ACS ?", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-08-01T14:45:17.000+0000", "updated": "2014-08-01T14:45:39.000+0000" }, { "id": "316668", "author": { "name": "S_Jain", "key": "s_jain", "displayName": "Shreyan Jain", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I updated Node and the installation of Node.ACS worked perfectly this time. Thanks!", "updateAuthor": { "name": "S_Jain", "key": "s_jain", "displayName": "Shreyan Jain", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-01T17:10:59.000+0000", "updated": "2014-08-01T17:10:59.000+0000" }, { "id": "316672", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as updating the node version fixed the issue.\r\n\r\nCreated ticket TISTUD-6759 to let Studio update to the Node.JS minimum required version.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-08-01T17:40:48.000+0000", "updated": "2014-08-01T17:40:48.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }