{ "id": "167301", "key": "TIMOB-24626", "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": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-27T20:25:55.000+0000", "created": "2017-04-25T21:01:42.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [ { "id": "54767", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "167304", "key": "TIMOB-24627", "fields": { "summary": "Windows CLI: Build process errors out with Error: Cannot find module Error: Cannot find module 'titanium-sdk/lib/builder'", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2017-05-26T13:28:59.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": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "10207", "name": "Tooling" } ], "description": "h5.Description \r\n\r\nWhen building using 6.2.0.v20170425075343 the build process will error out with\r\n{{Error: Cannot find module '../node-titanium-sdk/lib/titanium'}}, the path used is in the hack is wrong https://github.com/appcelerator/titanium_mobile/blob/3f6ce6d1b20d89a3aa97b4703dccf4e872dd77d2/node_modules/titanium-sdk/lib/titanium.js#L1\r\n\r\nh5.Steps to reproduce\r\n\r\n# ti sdk install -b master -d\r\n# Edit your tiapp.xml to use the SDK\r\n# Build your app {{ti build -p ios}}\r\n\r\nh5.Actual\r\n\r\nAbove error thrown\r\n\r\nh5.Expected\r\n\r\nBuild process should not error\r\n", "attachment": [], "flagged": false, "summary": "CLI: Build process errors out with Error: Cannot find module '../node-titanium-sdk/lib/titanium'", "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": "Ti SDK: 6.2.0.v20170425075343\r\nTi CLI: 5.0.12", "comment": { "comments": [ { "id": "418049", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8994", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-04-25T21:05:31.000+0000", "updated": "2017-04-25T21:05:31.000+0000" }, { "id": "420500", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I was able to verify this fix using the following environment;\r\niPhone 7 Simulator (10.2)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.9.0.201705021158\r\nTi SDK 6.2.0.v20170526055219\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-26T13:28:59.000+0000", "updated": "2017-05-26T13:28:59.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }