{ "id": "149164", "key": "AC-184", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2015-07-21T20:35:12.000+0000", "created": "2015-06-26T07:08:50.000+0000", "labels": [ "cli" ], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2015-07-21T20:35:13.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": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "After installing Appcelerator Studio (Where Cli failed to install), I can't install or update Cli.\r\nCli should be available because I used Titanium studio before (Which still is installed on my machine).\r\n\r\nnode -v gives v0.12.5\r\n\r\nnpm -v give 2.11.2\r\n\r\nAttached is my error log.", "attachment": [ { "id": "55965", "filename": "error-appcelerator-studio.txt", "author": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-06-26T07:08:18.000+0000", "size": 13555, "mimeType": "text/plain" }, { "id": "56036", "filename": "screenshot-1.png", "author": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-01T10:21:26.000+0000", "size": 142160, "mimeType": "image/png" } ], "flagged": false, "summary": "Can't install or update Cli", "creator": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Mac OS X Yosemite 10.10.3\r\n16GB Ram", "comment": { "comments": [ { "id": "356168", "author": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, You can install Appcelerator CLI through terminal. Please follow the link [here|https://web.appcelerator.com/product/cli]. Follow the instruction there. Make sure you you have Node.js installed. Thanks.\r\n", "updateAuthor": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-06-27T09:03:00.000+0000", "updated": "2015-06-27T09:03:00.000+0000" }, { "id": "356212", "author": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Thanks for the link, but already tried this. \r\n\r\nThe results are:\r\nsudo npm install appcelerator -g \r\nit ends with semver@3.0.1 I can't see any errors\r\n\r\nappc setup. \r\n-bash: appc: command not found.\r\n\r\nKinds regards", "updateAuthor": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-06-29T09:44:20.000+0000", "updated": "2015-06-29T09:44:20.000+0000" }, { "id": "356353", "author": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~info7], Your problem is with your node.js. Please remove the current node.js and install the latest node.js from the link. After that again try following the instruction on the link. Make sure you have JDK properly updated. Reply with your findings. Thanks.", "updateAuthor": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-06-30T05:20:09.000+0000", "updated": "2015-06-30T05:20:09.000+0000" }, { "id": "356395", "author": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hello Amimul Hossain,\r\nI uninstalled my version of node.js and installed the version from the link (0.10.37).\r\nJDK is up to date as far as I know (1.7.0).\r\n\r\nStill the same error: appc: command not found.\r\n\r\nIn addition I tried the appcelerator studio installer.\r\nAt the prerequisites screen it says Appcelerator Cli will be installed.\r\nAfter hitting next It says 'Installation of Appcelerator Cli failed with issues' . The more button says: Could not locate appc executable after installation.\r\n\r\nThanks\r\n\r\n", "updateAuthor": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-06-30T11:54:54.000+0000", "updated": "2015-06-30T11:54:54.000+0000" }, { "id": "356530", "author": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~info7], what does the \"sudo npm install appcelerator -g\" command output? does it installed properly? ", "updateAuthor": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-07-01T09:38:40.000+0000", "updated": "2015-07-01T09:38:40.000+0000" }, { "id": "356533", "author": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "See screenshot\r\n\r\n!screenshot-1.png!", "updateAuthor": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-01T10:21:46.000+0000", "updated": "2015-07-01T10:21:46.000+0000" }, { "id": "357009", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Looks the npm prefix value is corrupted on the machine.\r\n\r\n- Run the command {{npm config get prefix}} and/or {{npm get prefix}} and make sure this refers to the default value {{/usr/local}}.\r\n- Also, env variable NPM_CONFIG_PREFIX should be empty.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-06T17:55:21.000+0000", "updated": "2015-07-06T17:55:21.000+0000" }, { "id": "357525", "author": { "name": "squartek", "key": "squartek", "displayName": "rafael guedes alves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Like Praveen said... \r\n\r\nnpm config set prefix /usr/local\r\n\r\nDid solve the problem!", "updateAuthor": { "name": "squartek", "key": "squartek", "displayName": "rafael guedes alves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-12T23:58:05.000+0000", "updated": "2015-07-12T23:58:05.000+0000" }, { "id": "357546", "author": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Like Praveen said setting the npm prefix to the default fixed my problem.\r\n\r\nThanks guys for all the support.", "updateAuthor": { "name": "info7", "key": "info7", "displayName": "Robert Blom", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-13T09:28:55.000+0000", "updated": "2015-07-13T09:28:55.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }