cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9515) Incorrect error handling when trying to deploy to Windows Phone 8.1 Emulator
Date Fri, 21 Aug 2015 22:08:46 GMT

    [ https://issues.apache.org/jira/browse/CB-9515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14707533#comment-14707533
] 

ASF subversion and git services commented on CB-9515:
-----------------------------------------------------

Commit 1f4e04f5e4fe1356e20bc9a9ecadf2b7cc054b3d in cordova-windows's branch refs/heads/4.1.x
from [~robpaveza]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=1f4e04f ]

CB-9515: Change to deployment propagated regression to failure cases.


> 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


Mime
View raw message