Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
We now enforce the RDN-to-NPM plugin id mapping in various places in CordovaLib.
This works when there is no version is specified, but does not work when a desired version is specified.
For example, "cordova plugin add org.apache.cordova.device" will install cordova-plugin-device.
However "cordova plugin add org.apache.cordova.device@1.1.1" will throw an error message.
[a] cordova plugin add org.apache.cordova.device@1.1.1 Fetching plugin "org.apache.cordova.device@1.1.1" via npm Fetching plugin "org.apache.cordova.device@1.1.1" via cordova plugins registry Error: Failed to fetch plugin org.apache.cordova.device@1.1.1 via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: version not found: org.apache.cordova.device@1.1.1