{ "id": "125655", "key": "TIMOB-16348", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-03-23T01:41:52.000+0000", "created": "2014-01-30T22:09:58.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.2.1" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-17T18:22:12.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": "13719", "name": "Windows Hybrid", "description": "Windows Hybrid platform" } ], "description": "h5.Description\r\nBuilds will fail with the following error message:\r\n{code}[ERROR] There are Windows Phone configuration issues preventing the app from being built{code}\r\n\r\nh5.Steps To Reproduce\r\n1. Create a MobileWeb project\r\n2. Run the application on device\r\n3. Run \"ti info\"\r\n\r\nh5.Expected Result\r\n\"ti info\" should detect the users device\r\nProject should run on device\r\n\r\nh5.Actual Result\r\nProject fails to run on device\r\n\"ti info\" displays:\r\n{code}\r\nC:\\Users\\tester32\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\longjohn\\dist\\longjohn.js:184\r\n throw e;\r\n ^\r\nTypeError: Object.keys called on non-object\r\n at Function.keys (native)\r\n at exports.render (C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\mobileweb\\cli\\lib\\info.js:58:13)\r\n at C:\\Users\\tester32\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\commands\\info.js:613:14\r\n at Array.forEach (native)\r\n at C:\\Users\\tester32\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\commands\\info.js:607:13\r\n at C:\\Users\\tester32\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:232:13\r\n at C:\\Users\\tester32\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:119:25\r\n at C:\\Users\\tester32\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:24:16\r\n at C:\\Users\\tester32\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:229:17\r\n at C:\\Users\\tester32\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:516:34\r\n---------------------------------------------\r\n at Readable.on (_stream_readable.js:679:33)\r\n at Connection.exec (C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\node_modules\\titanium-sdk\\lib\\adb.js:114:9)\r\n at ADB.devices (C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\node_modules\\titanium-sdk\\lib\\adb.js:362:23)\r\n at Object.detectDevices (C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\android\\cli\\lib\\detect.js:60:18)\r\n at Section. (C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\android\\cli\\lib\\info.js:25:7)\r\n at finalize (C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\node_modules\\titanium-sdk\\lib\\android.js:313:4)\r\n at C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\node_modules\\titanium-sdk\\lib\\android.js:681:5\r\n at ChildProcess. (C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\node_modules\\node-appc\\lib\\subprocess.js:60:3)\r\n---------------------------------------------\r\n at run (C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\node_modules\\node-appc\\lib\\subprocess.js:59:8)\r\n at C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\node_modules\\titanium-sdk\\lib\\android.js:453:4\r\n at C:\\Users\\tester32\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.2.0.v20131220112443\\node_modules\\node-appc\\lib\\subprocess.js:129:3\r\n at exithandler (child_process.js:635:7)\r\n at EventEmitter.emit (events.js:98:17)\r\n at maybeClose (child_process.js:735:16)\r\n at ChildProcess._handle.onexit (child_process.js:802:5)\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows Hybrid: Cannot build due to CLI not detecting windows device", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 8.1\r\nAppcelerator Studio, build: 3.2.1.201401241158\r\nTitanium SDK, build: 3.2.0.v20131220112443\r\nCLI: 3.2.1-beta3\r\nAlloy: 1.3.1-beta4", "comment": { "comments": [ { "id": "290666", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not for 3.2.1", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-31T19:07:32.000+0000", "updated": "2014-01-31T19:07:32.000+0000" }, { "id": "291500", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The problem was that the computer did not have the Windows Phone SDK installed. The detection could have been a bit better, regardless it does work if the Windows Phone SDK is installed.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-05T22:18:47.000+0000", "updated": "2014-02-05T22:18:47.000+0000" }, { "id": "291522", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To make things more complicated, the Windows Hybrid build scripts explicitly look for Visual Studio 2012 files. The build scripts also use the platform architecture to determine which Program Files directory to scan instead of scanning both, but that's a different issue.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-05T22:44:16.000+0000", "updated": "2014-02-05T22:44:16.000+0000" }, { "id": "294424", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This only occurs with Node version 0.10.13.\nThere is a problem where Node will default your processor architecture to be 32 bit even if you are running a 64 bit OS.\nDue to it thinking that it is a 32 bit OS it will look in the wrong directory for certain files causing builds to fail.\n\nUpdating to the latest version of Node fixes this issue and building to device works as expected.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-24T19:03:46.000+0000", "updated": "2014-02-24T19:03:46.000+0000" }, { "id": "413546", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:22:12.000+0000", "updated": "2017-03-17T18:22:12.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }