Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Repro steps
1. Create cordova app
2. Add wp8 platform
3. Run command below
cordova run --target="Emulator WVGA"
Observe the following error
Deploying package to Emulator WVGA ERROR: TypeError: Object #<Object> has no method 'findDevice' at C:\temp\363\app2\platforms\wp8\cordova\lib\package.js:36:67 at _fulfilled (C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:787:54) at self.promiseDispatch.done (C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:816:30) at Promise.promise.promiseDispatch (C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:749:13) at C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:810:14 at flush (C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:108:17) at process._tickCallback (node.js:419:13) Error: C:\temp\363\app2\platforms\wp8\cordova\run.bat: Command failed with exit code 2 at ChildProcess.whenDone (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:756:16) at Process.ChildProcess._handle.onexit (child_process.js:823:5)