You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2014/09/23 09:03:33 UTC
[jira] [Resolved] (CB-7616) Deploy on WP8 fails to run specific
target
[ https://issues.apache.org/jira/browse/CB-7616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Grebnov resolved CB-7616.
--------------------------------
Resolution: Fixed
> Deploy on WP8 fails to run specific target
> ------------------------------------------
>
> Key: CB-7616
> URL: https://issues.apache.org/jira/browse/CB-7616
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP8
> Reporter: Sergey Grebnov
> Assignee: Sergey Grebnov
> Labels: deploy, wp8
>
> Repro steps
> 1. Create cordova app
> 2. Add wp8 platform
> 3. Run command below
> {code}
> cordova run --target="Emulator WVGA"
> {code}
> Observe the following error
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)