Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9259218AED for ; Mon, 27 Apr 2015 06:28:39 +0000 (UTC) Received: (qmail 19534 invoked by uid 500); 27 Apr 2015 06:28:39 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 19513 invoked by uid 500); 27 Apr 2015 06:28:39 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 19500 invoked by uid 99); 27 Apr 2015 06:28:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 06:28:39 +0000 Date: Mon, 27 Apr 2015 06:28:39 +0000 (UTC) From: "Tim Barham (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CB-8668) cordova plugin add/rm does not work on Windows if project contains ios platform MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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