{ "id": "163725", "key": "TIMOB-23982", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-08-14T10:39:08.000+0000", "created": "2016-10-04T20:29:33.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-6.0.0" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18322", "name": "Release 5.5.1", "archived": false, "released": true, "releaseDate": "2016-09-28" } ], "issuelinks": [ { "id": "52973", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "163711", "key": "TIMOB-23980", "fields": { "summary": "CLI: Android module build errors out with spawn ti ENOENT when building without --build-only", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2017-08-14T10:39:33.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "h5.Description\r\n\r\n*This is not a regression, occurs using 5.5.1.GA components*\r\n\r\nWhen building an Android module without {{--build-only}}, using {{appc run}} and not having ti CLI installed globally the build process errors out with the below. This comes from the CLI attempting to [spawn ti|https://github.com/appcelerator/titanium_mobile/blob/master/android/cli/commands/_buildModule.js#L1487].\r\n\r\n* This only happens when using {{appc run}} and not having ti CLI installed globally\r\n\r\n{code}\r\n[INFO] Writing module zip: /Users/eharris/Documents/Appcelerator_Studio_Workspace/testmodule/android/dist/com.appc.testmod-android-1.0.0.zip\r\n2016-10-06T07:19:20.229Z | ERROR | An uncaught exception was thrown!\r\nspawn ti ENOENT\r\n2016-10-06T07:19:20.229Z | ERROR | spawn ti ENOENT\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Create an android module {{appc new --type timodule --name awesomOandroid --id com.awesomO.windows-p android}}\r\n# {{cd awesomOandroid \\android}}\r\n# {{appc run -p android}}\r\n\r\nh5.Actual result\r\n\r\nModule build fails\r\n\r\nh5.Expected result\r\n\r\nModule build should not fail", "attachment": [], "flagged": false, "summary": "CLI: Android module build errors out with spawn ti ENOENT when building without --build-only and ti cli not installed globally", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "OSX 10.11.6\r\nAppc core: 6.0.0-55\r\nAppc NPM: 4.2.8-7\r\nTi SDK: 6.0.0.v20161002235150", "comment": { "comments": [], "maxResults": 5, "total": 5, "startAt": 0 } } }