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 968C318742 for ; Mon, 22 Feb 2016 20:32:40 +0000 (UTC) Received: (qmail 24334 invoked by uid 500); 22 Feb 2016 20:32:18 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 24308 invoked by uid 500); 22 Feb 2016 20:32:18 -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 24082 invoked by uid 99); 22 Feb 2016 20:32:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2016 20:32:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3873F2C1F6C for ; Mon, 22 Feb 2016 20:32:18 +0000 (UTC) Date: Mon, 22 Feb 2016 20:32:18 +0000 (UTC) From: "Omar Mefire (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-9125) Cordova prepare fails when two plugins have the same dependency MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9125?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Omar Mefire updated CB-9125: ---------------------------- Assignee: (was: Omar Mefire) > Cordova prepare fails when two plugins have the same dependency > --------------------------------------------------------------- > > Key: CB-9125 > URL: https://issues.apache.org/jira/browse/CB-9125 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Reporter: S=C3=A9bastien Tour > Priority: Minor > > CLI version: 5.0.0 > OS: Max OS X Yosemite > In my `config.xml`I have the following: > {quote} > ... > > ... > > > ... > {quote} > With git, i ignore *platforms/* and *plugins/* so that when I clone the r= epo, I just use *cordova prepare* and it installs the android platform and = plugins. > But when *cordova prepare* installs plugins, I get this error: > {quote} > Installing "cordova-plugin-file-transfer" for android > Installing "cordova-plugin-media" for android > Fetching plugin "cordova-plugin-file" via npm > Fetching plugin "cordova-plugin-file" via npm > Installing "cordova-plugin-file" for android > Installing "cordova-plugin-file" for android > Error during processing of action! Attempting to revert... > Failed to install 'cordova-plugin-file':Error: Uh oh! > "/Users/ubidev/Projects/R2A-Client/Mobile/platforms/android/src/org/apach= e/cordova/file/EncodingException.java" already exists! > at Object.module.exports.common.copyNewFile (/usr/local/lib/node_modu= les/cordova/node_modules/cordova-lib/src/plugman/platforms/common.js:67:19) > at Object.module.exports.source-file.install (/usr/local/lib/node_mod= ules/cordova/node_modules/cordova-lib/src/plugman/platforms/android.js:78:2= 0) > at installWrapper (/usr/local/lib/node_modules/cordova/node_modules/c= ordova-lib/src/platforms/platforms.js:76:32) > at Object.ActionStack.process (/usr/local/lib/node_modules/cordova/no= de_modules/cordova-lib/src/plugman/util/action-stack.js:68:25) > at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/co= rdova-lib/src/plugman/install.js:543:20) > at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/p= lugman/install.js:335:28 > at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.j= s:787:54) > at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/nod= e_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordo= va/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:509:49 > Failed to install 'cordova-plugin-file-transfer':Error: Uh oh! > "/Users/ubidev/Projects/R2A-Client/Mobile/platforms/android/src/org/apach= e/cordova/file/EncodingException.java" already exists! > at Object.module.exports.common.copyNewFile (/usr/local/lib/node_modu= les/cordova/node_modules/cordova-lib/src/plugman/platforms/common.js:67:19) > at Object.module.exports.source-file.install (/usr/local/lib/node_mod= ules/cordova/node_modules/cordova-lib/src/plugman/platforms/android.js:78:2= 0) > at installWrapper (/usr/local/lib/node_modules/cordova/node_modules/c= ordova-lib/src/platforms/platforms.js:76:32) > at Object.ActionStack.process (/usr/local/lib/node_modules/cordova/no= de_modules/cordova-lib/src/plugman/util/action-stack.js:68:25) > at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/co= rdova-lib/src/plugman/install.js:543:20) > at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/p= lugman/install.js:335:28 > at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.j= s:787:54) > at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/nod= e_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordo= va/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:509:49 > Installing "cordova-plugin-file-transfer" for android > {quote} > cordova-plugin-file-transfer and cordova-plugin-media both have a depende= ncy to cordova-plugin-file. It seems that, as they are installed concurrent= ly, they're both trying to install the cordova-plugin-file and it creates a= conflict. > When I add the plugins with two seperate *cordova plugin add* commands, i= t works fine. -- 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