{ "id": "149196", "key": "TIMOB-19090", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-06-29T13:41:33.000+0000", "created": "2015-06-27T06:15:34.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-4.1.0" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2015-07-02T17:51:52.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" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building for ws-local the build fails with the following error\r\n\r\n{code}\r\n[ERROR] Read-Host : Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available\r\nAt line:1 char:1\r\n+ Read-Host 'Press Enter to continue...' | Out-Null\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : InvalidOperation: (:) [Read-Host], PSInvalidOperationException\r\n + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.ReadHostCommand\r\n{code}\r\n\r\nThe build works fine when using the 4.1.0.v20150624180823 SDK\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Create a new project using the latest SDK\r\n2. Build the project using {{appc run -p windows -T ws-local}}, generate a .pfx if needed\r\n\r\nh5.Actual result\r\n\r\nThe build fails with the error above\r\n\r\nh5.Expected result\r\n\r\nThe build should pass", "attachment": [], "flagged": false, "summary": "Windows: Building for ws-local fails with powershell error 'Read-Host : Windows PowerShell is in NonInteractive mode'", "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 8.1\r\nAppc CLI (NPM): 4.1.0-1\r\nAppc CLI (Registry): 4.1.0-4\r\nTi SDK: 4.1.0.v20150626084425", "closedSprints": [ { "id": 436, "state": "closed", "name": "2015 Sprint 13 Windows", "startDate": "2015-06-20T23:02:43.965Z", "endDate": "2015-07-04T23:02:00.000Z", "completeDate": "2015-07-06T14:03:22.174Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "356221", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Once PR is merged to windowslib, I'll need to publish and then update titanium_mobile as well.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-06-29T13:27:52.000+0000", "updated": "2015-06-29T13:27:52.000+0000" }, { "id": "356756", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using: \r\n\r\nWindows 8.1\r\nAppc CLI (NPM): 4.1.0-1\r\nAppc CLI (Registry): 4.1.0-4\r\nTi SDK: 4.1.0.v20150702030940\r\nAppc Studio: 4.1.0.201507010234\r\n\r\nWhen building for ws-local the build no longer fails\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-02T17:51:48.000+0000", "updated": "2015-07-02T17:51:48.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }