{ "id": "153905", "key": "TIMOB-20151", "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": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2015-12-17T14:17:57.000+0000", "created": "2015-12-17T01:06:24.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.1.2" ], "versions": [ { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" }, { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-04-26T05:42:50.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "*Details:* If you run appc/ti info, then \"Error: spawn powershell ENOENT\" is returned.\r\n\r\n*Notes:*\r\n* This occurs with current GA and 5.1.2 SDK.\r\n* When I filed this ticket, I upgraded my machine from Windows 8 Enterprise to Windows 10 Pro.\r\n* To workaround this issue, add {{C:\\Windows\\System32\\WindowsPowerShell\\v1.0}} to your {{Path}} environment variable.\r\n\r\n*Steps to reproduce:*\r\n# Run {{appc ti info}}\r\n\r\n*Actual:* \"Error: spawn powershell ENOENT\" stack trace is returned; see attachment.\r\n*Expected:* No errors should appear.", "attachment": [ { "id": "57790", "filename": "stack.txt", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-17T01:06:13.000+0000", "size": 5522, "mimeType": "text/plain" } ], "flagged": false, "summary": "Windows 10: If you run appc/ti info, then \"Error: spawn powershell ENOENT\" is returned", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appc CLI NPM: 4.2.2\r\nAppc CLI Core: 5.1.0\r\nSDK: 5.1.1.GA, 5.1.2.v20151215181753\r\nNode: 4.2.2 (32-bit)\r\nOS: Windows 10 (64-bit)", "comment": { "comments": [ { "id": "373207", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I'm not sure what to do about this one. Basically this looks like a one-off configuration problem, though I honestly have no idea why or how it'd happen. By default in both the System and my user PATH the powershell bin directory is listed. That should be the case for every Windows system.\r\n\r\nI think unless we start seeing more reports of this, this may just be a fluke. If it's common, I suppose we'll need to add special code for finding Powershell at the standard location when it's not on the PATH?", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-12-17T14:17:57.000+0000", "updated": "2015-12-17T14:17:57.000+0000" }, { "id": "373256", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "For now, will close ticket as \"Not Our Bug\".", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-17T21:22:56.000+0000", "updated": "2015-12-17T21:22:56.000+0000" }, { "id": "383740", "author": { "name": "Umair", "key": "umair", "displayName": "Umair Ahmed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@ Wilson, did you resolve this problem. I am facing it and have no solution. I am using Window 8 and all other path variables are set accordingly including the power shell directory added in my path.", "updateAuthor": { "name": "Umair", "key": "umair", "displayName": "Umair Ahmed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-24T16:42:28.000+0000", "updated": "2016-04-24T16:42:28.000+0000" }, { "id": "383822", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~Umair], At the moment, there is no fix for this issue as per Chris's comment. Can you provide the following information:\r\n* The stack trace you are seeing.\r\n* The versions you are using for:\r\n** Appc CLI NPM: Version property in {{C:\\Users\\\\AppData\\Roaming\\npm\\node_modules\\appcelerator\\package.json}}\r\n** Appc CLI Core: {{C:\\Users\\\\.appcelerator\\install\\.version}}\r\n** Titanium SDK: SDK selected property in {{C:\\Users\\\\.titanium\\config.json}}\r\n** Node version: {{node -v}}\r\n** Architecture of your Node: 32-bit or 64-bit\r\n** Architecture of your Windows OS\r\n* And, after you set the path, did you try restarting your Windows machine?", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-25T17:26:09.000+0000", "updated": "2016-04-25T17:26:09.000+0000" }, { "id": "383874", "author": { "name": "Umair", "key": "umair", "displayName": "Umair Ahmed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was on Windows 8.1 and yes after restart, I dont know what happened but the issue is fixed :)", "updateAuthor": { "name": "Umair", "key": "umair", "displayName": "Umair Ahmed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-26T05:42:50.000+0000", "updated": "2016-04-26T05:42:50.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }