Description
When building an app for wp-emulator with
--forceUnInstall
and the emulator is in a clean state (i.e. no app already installed), then the build will fail because it's trying to uninstall a non-existent app and then doesn't continue on with the install when the uninstall fails
[ERROR] A debug application is already installed, please remove existing debug application
[ERROR] Error: A debug application is already installed, please remove existing debug application
at ChildProcess.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\7.1.0.v20180228160738\node_modules\windowslib\lib\wptool.js:915:15)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
Steps to reproduce
1. Build an application for wp-emulator with the emulator closed (clean state)
Actual
Build fails with above
Expected
Build should not fail
This may be tricky because we should satisfy TIMOB-23800 too. (See also: https://github.com/appcelerator/windowslib/pull/54)
https://github.com/appcelerator/windowslib/pull/84