Description
When building a Windows application without the -T option
appc run -p windows
the build process errors out with the following
:\ProgramData\Titanium\mobilesdk\win32\6.1.0.v20170107081537\windows\cli\commands\_build\config\deviceID.js:76
throw new Error(
^
Error: No Windows Phone emulators found
at WindowsBuilder.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\6.1.0.v20170107081537\windows\cli\commands\_build\config\deviceID.js:76:11)
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:838:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:4053:5
at process (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:2479:17)
at Immediate.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:2292:16)
at runCallback (timers.js:637:20)
at tryOnImmediate (timers.js:610:5)
at processImmediate [as _immediateCallback] (timers.js:582:5)
---------------------------------------------
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:2291:9
at apply (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:41:25)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:76:12
at _insert (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:2400:9)
at Object.push (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:2447:13)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:925:9
at Array.forEach (native)
at CLI.prompt (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:924:43)
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:640:13)
---------------------------------------------
at Object.setImmediate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:194:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:272:35
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:44:16
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:723:17
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:167:37
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:451:65)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:718:13
at Immediate.iterate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:262:13)
---------------------------------------------
at Object.setImmediate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:194:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:272:35
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:44:16
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:723:17
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:167:37
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:451:65)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:718:13
at Immediate.iterate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:262:13)
---------------------------------------------
at Object.setImmediate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:194:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:272:35
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:44:16
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:723:17
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:167:37
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:451:65)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:718:13
at Immediate.iterate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:262:13)
---------------------------------------------
at Object.setImmediate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:194:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:272:35
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:44:16
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:723:17
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:167:37
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:479:13
at WindowsBuilder.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\6.1.0.v20170107081537\windows\cli\commands\_build\config\deviceID.js:110:4)
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:474:16)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:718:13
---------------------------------------------
at Object.setImmediate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:194:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:272:35
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:44:16
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:723:17
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:167:37
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:523:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:718:13
at Immediate.iterate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:262:13)
---------------------------------------------
at Object.setImmediate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:194:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:272:35
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:44:16
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:723:17
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:167:37
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:523:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:718:13
at Immediate.iterate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:262:13)
---------------------------------------------
at Object.setImmediate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:194:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:272:35
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:44:16
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:723:17
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:167:37
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:523:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:718:13
at Immediate.iterate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:262:13)
---------------------------------------------
at Object.setImmediate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:194:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:272:35
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:44:16
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:723:17
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:167:37
at CLI.<anonymous> (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:523:9)
at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:718:13
at Immediate.iterate (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js:262:13)
Steps to reproduce
Build an application with appc run -p windows
Actual result
Build errors with the above
Expected result
Build should not error and build to an emulator
PR: https://github.com/appcelerator/titanium_mobile_windows/pull/919
Nice catch! (y)
Verified fix, error was not present when using
appc run -p window
with 6.1.0.v20170109110359 *Environment*Closing Ticket.