{ "id": "167304", "key": "TIMOB-24627", "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-26T11:28:21.000+0000", "created": "2017-04-25T21:51:10.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" }, "outwardIssue": { "id": "167301", "key": "TIMOB-24626", "fields": { "summary": "CLI: Build process errors out with Error: Cannot find module '../node-titanium-sdk/lib/titanium'", "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-08-22T17:49:43.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 and building for Windows the build process will error out with\r\n{{Error: Cannot find module 'titanium-sdk/lib/builder''}}, titanium-sdk is now node-titanium-sdk the references in titanium_mobile_windows need updating https://github.com/appcelerator/titanium_mobile_windows/search?utf8=%E2%9C%93&q=titanium-sdk&type=\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 windows}}\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": "Windows CLI: Build process errors out with Error: Cannot find module Error: Cannot find module 'titanium-sdk/lib/builder'", "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": "418058", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_windows/pull/984", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-04-25T22:51:38.000+0000", "updated": "2017-04-25T22:51:38.000+0000" }, { "id": "427044", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in SDK Version: 7.0.0.v20170821125551 and SDK Version: 6.2.0.v20170822080825\r\n\r\nTest and other information can be found at:\r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/984\r\n\r\n*Test Environement*\r\n{code:java}\r\nAPPC CLI 6.2.3\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 32bit\r\nCPUs = 4\r\nNode.js:\r\nNode.js Version = 6.10.1\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-22T17:49:37.000+0000", "updated": "2017-08-22T17:49:37.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }