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

Raphael updated CB-13596:
-------------------------
    Affects Version/s: 8.0.0

> Installation of scoped plugin also installs conflicting unscoped plugin with 
> same name
> --------------------------------------------------------------------------------------
>
>                 Key: CB-13596
>                 URL: https://issues.apache.org/jira/browse/CB-13596
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-lib
>    Affects Versions: cordova@7.1.0, 8.0.0
>            Reporter: Marian Hello
>            Priority: Major
>
> if there is unscoped package with same name as scoped package, both will be 
> installed.
> As result you will end up with two (potentially conflicting) packages.
> How to reproduce:
> 1. create new cordova project:
> cordova create myApp org.apache.cordova.myApp myApp
> 2. add plaftofm
> cordova platform add android
> 3. install scoped package:
> cordova plugin add 
> @mauron85/cordova-plugin-background-geolocation@3.0.0-alpha.4
> Expected Behavior
> Only single package @mauron85/cordova-plugin-background-geolocation will be 
> installed
> Actual Behaviour
> Two packages will get installed:
> 1. @mauron85/cordova-plugin-background-geolocation - 
> https://www.npmjs.com/package/@mauron85/cordova-plugin-background-geolocation
> 2. cordova-plugin-background-geolocation - 
> https://www.npmjs.com/package/cordova-plugin-background-geolocation
> They are completely different and incompatible. As result cordova project 
> won't compile.
> Console output:
> Installing "cordova-plugin-background-geolocation" for android
> Installing "cordova-plugin-geolocation" for android
> Installing "cordova-plugin-dialogs" for android
> Adding @mauron85/cordova-plugin-background-geolocation to package.json
> Saved plugin info for "@mauron85/cordova-plugin-background-geolocation" to 
> config.xml



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to