{ "id": "167320", "key": "TIMOB-24634", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-28T15:23:36.000+0000", "created": "2017-04-26T17:30:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2017-05-02T18:06:25.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": "10207", "name": "Tooling" } ], "description": "Using the latest 6.1.0 build (6.1.0.v20170426072049) I am unable to run any created applications to a Window Phone or Windows Emulator. \r\n\r\nEnter {{appc ti sdk install -b master -d}} in the appc CLI to get the latest build. \r\n\r\nSteps to reproduce: \r\n1. Open Appcelerator Studio \r\n2. Go to {{file}} -> {{New}} -> {{mobile app project}} \r\n3. Select a classic default project and press {{next}}\r\n4. Enter {{project name}} and {{app id}}\r\n5. Press {{finish}} to create the application \r\n6. Go to the {{tiapp.xml}} and change the SDK version to {{6.1.0.v20170426072049}}\r\n7. Run the application to a device or emulator \r\n\r\n*Expected result*\r\nApplication should run without any issues \r\n\r\n*Actual result*\r\nFollowing error is shown in the console:\r\n{code:java}\r\n2017-04-26T17:21:53.379Z | ERROR | An uncaught exception was thrown!\r\nCannot find module 'node-titanium-sdk/lib/builder'\r\n2017-04-26T17:21:53.385Z | ERROR | Cannot find module 'node-titanium-sdk/lib/builder'\r\n2017-04-26T17:21:53.385Z | TRACE | Error: Cannot find module 'node-titanium-sdk/lib/builder'\r\n at Function.Module._resolveFilename (module.js:469:15)\r\n at Function.Module._load (module.js:417:25)\r\n at Module.require (module.js:497:17)\r\n at require (internal/module.js:20:19)\r\n at Object. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.1.0.v20170426072049\\windows\\cli\\commands\\_build.js:14:15)\r\n at Module._compile (module.js:570:32)\r\n at Object.Module._extensions..js (module.js:579:10)\r\n at Module.load (module.js:487:32)\r\n at tryModuleLoad (module.js:446:12)\r\n at Function.Module._load (module.js:438:3)\r\n at Module.require (module.js:497:17)\r\n at require (internal/module.js:20:19)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.1.0.v20170426072049\\node_modules\\titanium-sdk\\lib\\titanium.js:86:14\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.1.0.v20170426072049\\node_modules\\async\\dist\\async.js:3816:26\r\n at eachOfArrayLike (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.1.0.v20170426072049\\node_modules\\async\\dist\\async.js:1039:9)\r\n at eachOf (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.1.0.v20170426072049\\node_modules\\async\\dist\\async.js:1087:5)\r\n{code}\r\n\r\nUsing a previous SDK build (6.1.0.v20170421082637) the application runs without any issues.", "attachment": [], "flagged": false, "summary": "(Windows) Unable to run a Windows application using the 6.1.0.v20170426072049 build", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: 6.1.0.v20170426072049\r\nAPPC Studio: 4.8.1.201612050850\r\nAPPC CLI: 6.2.0\r\n*Operating System:*\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 32bit\r\nCPUs = 4\r\nMemory = 17034395648\r\n*Node.js:*\r\nNode.js Version = 6.10.1", "closedSprints": [ { "id": 883, "state": "closed", "name": "2017 Sprint 09 SDK", "startDate": "2017-04-23T21:46:54.309Z", "endDate": "2017-05-07T21:46:00.000Z", "completeDate": "2017-05-08T00:25:44.276Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "418140", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Sounds like this is duplicate of TIMOB-24626? So I guess we need to backport both TIMOB-24627 and TIMOB-24626 to 6_1_X.\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-26T23:20:45.000+0000", "updated": "2017-04-26T23:21:02.000+0000" }, { "id": "418141", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I'm guessing this is because we built 6.1.0 sdk binary from titanium_mobile_windows master. I see that our [6_1_X/cli/commands/_build.js|https://github.com/appcelerator/titanium_mobile_windows/blob/6_1_X/cli/commands/_build.js] correctly points to {{titanium-sdk/lib/builder}} still. [~cwilliams] Could you look into this?", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-27T00:06:43.000+0000", "updated": "2017-04-27T00:06:43.000+0000" }, { "id": "418154", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Looks the 6.1.0 builds for titanium_mobile need an env var setting? https://github.com/appcelerator/titanium_mobile/blob/6_1_X/Jenkinsfile#L82", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-04-27T10:38:54.000+0000", "updated": "2017-04-27T10:38:54.000+0000" }, { "id": "418241", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I messed up the build script. It should try to use env.CHANGE_TARGET for PRs, env.BRANCH_NAME for non-PRs, and fallback to 'master' if both are not set. Pushed a fix to 6_1_X build and master build of titanium_mobile.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2017-04-28T14:32:07.000+0000", "updated": "2017-04-28T14:32:07.000+0000" }, { "id": "418246", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Fixed the build to grab 6_1_X of windows sdk, as of 6.1.0.v20170428073516", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2017-04-28T15:23:37.000+0000", "updated": "2017-04-28T15:23:37.000+0000" }, { "id": "418301", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "(y)", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-28T21:52:57.000+0000", "updated": "2017-04-28T21:52:57.000+0000" }, { "id": "418656", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, as issue is now fixed and I am able to run a windows application on the 6.1.X branch. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T18:06:20.000+0000", "updated": "2017-05-02T18:06:20.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }