Description:
1. Use the environment mentioned to produce the issue.
2. Create an alloy & classic app in studio.
3. Build/run on device/emulator on any platform.
Actual Result:
1. The build fails & we get the following errors:
C:\Users\Tester\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:185
throw e;
^
TypeError: Object.keys called on non-object
at Function.keys (native)
at async.parallel.devices (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\titanium-sdk\lib\windows.js:331:23)
at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:524:25
at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:111:13
at Array.forEach (native)
at _each (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:32:24)
at async.each (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:110:9)
at _parallel (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:523:20)
at async.parallel (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:539:9)
at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\titanium-sdk\lib\windows.js:290:9
---------------------------------------------
at Object.run (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\node-appc\lib\subprocess.js:59:8)
at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\titanium-sdk\lib\windows.js:186:22
at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:511:21
at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:227:13
at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:111:13
at Array.forEach (native)
at _each (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:32:24)
at async.each (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:110:9)
Expected Result:
1. The app should Build/Run fine without any errors.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/5686 To test, build an app on a Windows machine that does NOT have any Windows Phone SDKs installed.
Windows specific bug fix: https://github.com/appcelerator/titanium_mobile/pull/5700
Environment tested: Windows 7-32 bit Appcelerator Studio, build: 3.3.0.201405271647 Titanium SDK, build: 3.3.0.v20140530150912 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-beta npm@1.3.2 titanium@3.3.0-beta titanium-code-processor@1.1.1 Device: Galaxy S3 Android version 4.3