cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Barham (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-8668) cordova plugin add/rm does not work on Windows if project contains ios platform
Date Mon, 27 Apr 2015 06:28:39 GMT

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

Tim Barham closed CB-8668.
--------------------------
    Resolution: Fixed

> cordova plugin add/rm does not work on Windows if project contains ios platform
> -------------------------------------------------------------------------------
>
>                 Key: CB-8668
>                 URL: https://issues.apache.org/jira/browse/CB-8668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 4.0.0
>         Environment: Windows7/8, MacOSX
>            Reporter: Shingo Toda
>            Assignee: Tim Barham
>
> I have a project which contains Android, iOS and Windows platform. If I try to add or
remove a plugin on Windows, I get error like below.
> {code}
> C:\Users\FAST\Desktop\bbb>cordova plugin rm org.apache.cordova.test.echo
> Uninstalling org.apache.cordova.test.echo from android
> Uninstalling org.apache.cordova.test.echo from ios
> Error: C:\Users\FAST\Desktop\bbb\platforms\ios\cordova\version: Command failed with exit
code ENOENT
>     at ChildProcess.whenDone (C:\Users\FAST\workspace\cordova\4.2.0-cli\cordova-cli\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
>     at ChildProcess.emit (events.js:107:17)
>     at Process.ChildProcess._handle.onexit (child_process.js:1065:12)
>     at child_process.js:1137:20
>     at process._tickCallback (node.js:355:11)
> {code}
> This seems to result in partial uninstallation. {{platforms\ios\cordova\version}} is
shell script so I think CLI attempt to load this file by bash then this error happens on Windows.



--
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