cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-7616) Deploy on WP8 fails to run specific target
Date Wed, 24 Sep 2014 16:54:35 GMT


ASF GitHub Bot commented on CB-7616:

GitHub user sgrebnov opened a pull request:

    CB-7616 partial match support for --target

    This change allows using partial string when specifying target device/emulator via --target
param, for example
    cordova run wp8 --target="WVGA" -- --phone
    Example device list for Windows is listed below:
    Emulator WVGA 512MB
    Emulator WVGA
    Emulator WXGA
    Emulator 720P
    Emulator 7.1 256MB
    Emulator 7.1

You can merge this pull request into a Git repository by running:

    $ git pull CB-7616

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #59
commit 70f6c4de09be030c57a0240c1c1a279d9cceeb59
Author: sgrebnov <>
Date:   2014-09-24T16:52:42Z

    CB-7616 partial match support for --target


> Deploy on WP8 fails to run specific target
> ------------------------------------------
>                 Key: CB-7616
>                 URL:
>             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
>     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

View raw message