{ "id": "150946", "key": "AC-339", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-11-14T01:31:36.000+0000", "created": "2015-09-03T13:22:08.000+0000", "labels": [ "alloy", "alloy-cli", "hook" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-14T01:31:36.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "the newer versions of the ALloy plugin hook now determine how to execute Alloy using this line:\r\n\r\n{code:java}\r\nif (process.platform === 'win32' && paths.alloy.indexOf('.bin') !== -1) \r\n{code}\r\n\r\n\r\nThe problem with that is that paths.alloy === 'alloy.cmd' and thus paths.alloy.indexOf('.bin') === -1\r\n\r\nYou then get this error when trying to compile anything:\r\n\r\n{code}\r\n[INFO] Executing Alloy compile: C:\\Program Files\\nodejs\\node.exe alloy.cmd compile C:\\test\\appc-bugs\\appc-test-1\\app --config platform=mobileweb,version=0,simtype=none,devicefamily=none,deploytype=development,target=web\r\n[DEBUG] module.js:338\r\n[DEBUG] throw err;\r\n[DEBUG] ^\r\n[ERROR] : Cannot find module 'C:\\test\\appc-bugs\\appc-test-1\\alloy.cmd'\r\n[DEBUG] at Function.Module._resolveFilename (module.js:336:15)\r\n[DEBUG] at Function.Module._load (module.js:278:25)\r\n[DEBUG] at Function.Module.runMain (module.js:501:10)\r\n[DEBUG] at startup (node.js:129:16)\r\n[DEBUG] at node.js:814:3\r\n[ERROR] Alloy compiler failed\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Alloy compiler not found on Windows", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": "Windows 10", "comment": { "comments": [ { "id": "362211", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "This is the commit that broke everything: https://github.com/appcelerator/alloy/commit/027de224b5a2fffa894661f6e74d35e79ce8bb6e", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-03T21:40:17.000+0000", "updated": "2015-09-03T21:40:17.000+0000" }, { "id": "364828", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "This seems to be fixed in the current build now.", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-23T23:14:31.000+0000", "updated": "2015-09-23T23:14:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }