[ https://issues.apache.org/jira/browse/CB-14194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Piotrowski (Sujan) updated CB-14194: ---------------------------------------- Description: When adding a plugin to a project, cordova will fail if the plugin is hosted under an npm scope. The scope is cut off when searching for the installation folder on disk: {code} Discovered plugin "@fairmanager/cordova-plugin-push" in config.xml. Adding it to the project Failed to restore plugin "@fairmanager/cordova-plugin-push" from config.xml. You might need to try adding it again. Error: Cannot find plugin.xml for plugin "cordova-plugin-push". Please try adding it again. {code} was: When adding a plugin to a project, cordova will fail if the plugin is hosted under an npm scope. The scope is cut off when searching for the installation folder on disk: ``` Discovered plugin "@fairmanager/cordova-plugin-push" in config.xml. Adding it to the project Failed to restore plugin "@fairmanager/cordova-plugin-push" from config.xml. You might need to try adding it again. Error: Cannot find plugin.xml for plugin "cordova-plugin-push". Please try adding it again. ``` > Prepare fails when using scoped packages > ---------------------------------------- > > Key: CB-14194 > URL: https://issues.apache.org/jira/browse/CB-14194 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib > Affects Versions: Master > Reporter: Oliver Salzburg > Priority: Major > > When adding a plugin to a project, cordova will fail if the plugin is hosted > under an npm scope. > The scope is cut off when searching for the installation folder on disk: > {code} > Discovered plugin "@fairmanager/cordova-plugin-push" in config.xml. Adding it > to the project > Failed to restore plugin "@fairmanager/cordova-plugin-push" from config.xml. > You might need to try adding it again. Error: Cannot find plugin.xml for > plugin "cordova-plugin-push". Please try adding it again. > {code} -- 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