{ "id": "122214", "key": "AC-2075", "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": "2013-11-11T20:59:08.000+0000", "created": "2013-11-07T21:18:46.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:02.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": [], "description": "h3. Steps to Reproduce\nSince installing updates for Titanium Studio, I have been unable to run anything. I always get the above message. I have tried restarting Titanium studio checked for updates and there are none.\n\nI have tried doing a fresh download and install and I get the same results. There is probably something simple I need to do, but being ewn to Titanium and also being new to Apple I am struggling to make any sence of this.\n\nh3. Actual Result\nerror - Unable to locate the CLI executable. Please restart Studio or use Help > Check for Titanium Updates to install Titanium CLI.\n\nh3. Expected Result\nIphone simulator should lanuch with my app", "attachment": [ { "id": "43745", "filename": ".log", "author": { "name": "andy.sykes", "key": "andy.sykes", "displayName": "Andrew Sykes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-07T21:18:47.000+0000", "size": 35573, "mimeType": "application/octet-stream; charset=ISO-8859-1" }, { "id": "43746", "filename": "diagnostic3992254657159082248.log", "author": { "name": "andy.sykes", "key": "andy.sykes", "displayName": "Andrew Sykes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-07T21:18:50.000+0000", "size": 10536, "mimeType": "application/octet-stream; charset=ISO-8859-1" }, { "id": "43747", "filename": "titanium diagnostics.txt", "author": { "name": "andy.sykes", "key": "andy.sykes", "displayName": "Andrew Sykes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-07T21:18:51.000+0000", "size": 10536, "mimeType": "application/octet-stream; charset=ISO-8859-1" } ], "flagged": false, "summary": "When trying to run get error - Unable to locate the CLI executable. Please restart Studio or use Help > Check for Titanium Updates to install Titanium CLI.", "creator": { "name": "andy.sykes", "key": "andy.sykes", "displayName": "Andrew Sykes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andy.sykes", "key": "andy.sykes", "displayName": "Andrew Sykes", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 3.1.3", "comment": { "comments": [ { "id": "278743", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "We have seen this issue before. Often this is due to Titanium not installing correctly because the 'prefix' is something other than \"/usr/local\".\r\n\r\nPlease try the following terminal commands (comments are in {color:blue}blue{color}):\r\n$ npm get prefix {color:blue}(to check that your prefix is incorrect){color}\r\n$ npm set prefix /usr/local {color:blue}(set the prefix to what it should be){color}\r\n$ sudo npm install -g titanium {color:blue}(reinstall Titanium with the correct prefix){color}\r\n\r\nAfter that, please verify if you are able to run a simulator or let us know if the issue persists.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-08T00:50:22.000+0000", "updated": "2013-11-08T21:41:54.000+0000" }, { "id": "278852", "author": { "name": "andy.sykes", "key": "andy.sykes", "displayName": "Andrew Sykes", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "andy.sykes", "key": "andy.sykes", "displayName": "Andrew Sykes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-09T15:56:19.000+0000", "updated": "2013-11-09T15:56:19.000+0000" }, { "id": "278967", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This looks to be a different, but related issue.\nFrom your logs, I can see that you are using node.js v0.10.x and Titanium SDK v3.0.2 for your project, but have up to Titanium SDK v3.1.3 installed.\n\nPlease check your project's tiapp.xml to make sure that you are using SDK v3.1.3 in your build properties. If not, set your project to use SDK v3.1.3, as v3.0.2 is incompatible with node.js v0.10.x.\n\nIf that does not work, you should be able to force the latest Titanium SDK (v3.1.3) to be your default with this command:\n$ titanium sdk install --force --default\n\nPlease verify if the above allows you to run the simulator.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-11T18:39:15.000+0000", "updated": "2013-11-11T18:39:15.000+0000" }, { "id": "279012", "author": { "name": "andy.sykes", "key": "andy.sykes", "displayName": "Andrew Sykes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Eric\n\nThanks for the update.\n\nI needed to do the $ titanium sdk install --force --default command first then go through my projects and update the SDK to v3.1.3. After that I have now managed to get the simulator up and running\n\nthanks for your help, this is all starting to make a lot more sense\n\nAndy", "updateAuthor": { "name": "andy.sykes", "key": "andy.sykes", "displayName": "Andrew Sykes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-11T20:50:14.000+0000", "updated": "2013-11-11T20:50:14.000+0000" }, { "id": "279017", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Good to hear; glad to help.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-11T20:59:08.000+0000", "updated": "2013-11-11T20:59:08.000+0000" }, { "id": "280629", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Solved in the user's end with SupportTeam help. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-21T23:32:57.000+0000", "updated": "2013-11-21T23:32:57.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }