{ "id": "168829", "key": "TIMOB-24936", "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-07-06T23:08:04.000+0000", "created": "2017-07-05T15:56:18.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2017-08-09T17:31:28.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building for Windows and providing an invalid value for target, when selecting a target value that requires detecting devices (wp-emulator or wp-device) the CLI will error out with \r\n\r\n{code}\r\nC:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.2.0.v20170630062735\\windows\\cli\\commands\\_build\\config\\deviceID.js:76\r\n throw new Error(\r\n ^\r\nError: No Windows Phone emulators found\r\n at WindowsBuilder. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.2.0.v20170630062735\\windows\\cli\\commands\\_build\\config\\deviceID.js:76:11)\r\n at CLI. (C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\cli.js:838:9)\r\n at C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\dist\\async.js:4053:5\r\n at process (C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\dist\\async.js:2479:17)\r\n at Immediate. (C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\dist\\async.js:2292:16)\r\n at runCallback (timers.js:672:20)\r\n at tryOnImmediate (timers.js:645:5)\r\n at processImmediate [as _immediateCallback] (timers.js:617:5)\r\n---------------------------------------------\r\n at C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\dist\\async.js:2291:9\r\n at apply (C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\dist\\async.js:41:25)\r\n at C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\dist\\async.js:76:12\r\n at _insert (C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\dist\\async.js:2400:9)\r\n at Object.push (C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\dist\\async.js:2447:13)\r\n at C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\cli.js:925:9\r\n at Array.forEach (native)\r\n at CLI.prompt (C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\cli.js:924:43)\r\n at CLI. (C:\\Users\\ewan\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\cli.js:640:13)\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Build a Windows app with {{ti build -p windows -T notvalid}}\r\n# Select either {{wp-device}} or {{wp-emulator}}\r\n\r\nh5.Actual\r\n\r\nCLI will error out with the above\r\n\r\nh5.Expected\r\n\r\nCLI should not error out, should build as normal", "attachment": [], "flagged": false, "summary": "Windows: Build errors out when selecting wp-emulator or wp-device after being prompted for a target", "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": "Windows 10 Pro\r\nTi SDK: 6.2.0.v20170630062735\r\nLumia 550 10.0", "closedSprints": [ { "id": 921, "state": "closed", "name": "2017 Sprint 14 Tooling", "startDate": "2017-07-02T23:55:00.000Z", "endDate": "2017-07-16T23:55:00.000Z", "completeDate": "2017-07-17T14:40:08.859Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "423504", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_windows/pull/1033", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-05T16:07:45.000+0000", "updated": "2017-07-05T16:07:45.000+0000" }, { "id": "426338", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified in SDK Version 6.2.0.v20170808012225 and 7.0.0.v20170808071205\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/1033", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-09T17:30:42.000+0000", "updated": "2017-08-09T17:30:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }