[ https://issues.apache.org/jira/browse/CB-9138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14579691#comment-14579691 ]
Steve Gill commented on CB-9138: -------------------------------- Best Solution to this might be to make installing plugins Sync. Since npm load is a singleton, we can't be changing it in a async fashion and hoping for it to have the correct context when installing multiple plugins from different registries. > Installing multiple plugins from multiple registries fails > ---------------------------------------------------------- > > Key: CB-9138 > URL: https://issues.apache.org/jira/browse/CB-9138 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib, Plugman > Affects Versions: 5.0.0 > Reporter: Steve Gill > Assignee: Steve Gill > Fix For: 5.2.0 > > > If you use <plugin> tag in config.xml and reference plugins from both CPR and > npm. When you do a platform add/cordova prepare to install those plugins, the > registry value will be incorrect. > Seems to be a async/promise issue and how we call npm load. The value gets > set to either registry.cordova.io or registry.npmjs.org. It won't alternate > based on where the plugin lives. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org