Github user bso-intel commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/396#discussion_r54328698 --- Diff: cordova-lib/src/plugman/fetch.js --- @@ -135,13 +135,32 @@ function fetchPlugin(plugin_src, plugins_dir, options) { var splitVersion = plugin_src.split('@'); var newID = pluginMapperotn[splitVersion[0]]; if(newID) { - events.emit('warn', 'Notice: ' + splitVersion[0] + ' has been automatically converted to ' + newID + ' to be fetched from npm. This is due to our old plugins registry shutting down.'); plugin_src = newID; if (splitVersion[1]) { plugin_src += '@'+splitVersion[1]; } - } - return registry.fetch([plugin_src]) + } + var P, skipCopyingPlugin; + plugin_dir = path.join(plugins_dir, splitVersion[0]); --- End diff -- In fact, cordova-plugin.js invokes plugman-fetch first and then plugman-install. So, we need to check existence of the plugin here. The same checking in plugman-install is still needed because plugman-install can be invoked directly from plugin CLI.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org