You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2015/08/23 16:49:45 UTC

[jira] [Resolved] (CB-9515) Incorrect error handling when trying to deploy to Windows Phone 8.1 Emulator

     [ https://issues.apache.org/jira/browse/CB-9515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Khandelwal resolved CB-9515.
-----------------------------------
    Resolution: Fixed

> Incorrect error handling when trying to deploy to Windows Phone 8.1 Emulator
> ----------------------------------------------------------------------------
>
>                 Key: CB-9515
>                 URL: https://issues.apache.org/jira/browse/CB-9515
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>            Reporter: Alexander Sorokin
>
> Steps to repro:
> First, stop "Windows Phone IP over USB Transport (IpOverUsbSvc)" service:
> Win+R, 'services.msc'
> Right click 'Windows Phone IP over USB Transport (IpOverUsbSvc)' and click 'stop'
> Then in command line:
> {noformat}
> cordova create foo
> cd foo
> cordova platform add https://github.com/apache/cordova-windows
> cordova run -- --phone
> {noformat}
> The output is:
> {noformat}
> WINDOWS DEPLOY FAILURE:
> Deploying phone package to device:
> C:\Projects\Cordova\foo\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> Attempting to remove previously installed application...
> Deploying app package...
> ERROR: TypeError: Object Error: The parameter is incorrect.
>  has no method 'indexOf'
>     at C:\Projects\Cordova\foo\platforms\windows\cordova\lib\package.js:196:31
>     at _rejected (C:\Projects\Cordova\foo\platforms\windows\cordova\node_modules\q\q.js:797:24)
>     at C:\Projects\Cordova\foo\platforms\windows\cordova\node_modules\q\q.js:823:30
>     at Promise.when (C:\Projects\Cordova\foo\platforms\windows\cordova\node_modules\q\q.js:1035:31)
>     at Promise.promise.promiseDispatch (C:\Projects\Cordova\foo\platforms\windows\cordova\node_modules\q\q.js:741:41)
>     at C:\Projects\Cordova\foo\platforms\windows\cordova\node_modules\q\q.js:557:44
>     at flush (C:\Projects\Cordova\foo\platforms\windows\cordova\node_modules\q\q.js:108:17)
>     at process._tickCallback (node.js:419:13)
> ERROR running one or more of the platforms: Error: cmd: Command failed with exit code 2
> You may not have the required environment or OS to run this project
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org