You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Byoungro So (JIRA)" <ji...@apache.org> on 2016/02/05 19:54:39 UTC

[jira] [Created] (CB-10550) no plugin id mapper enforced when a version is specified

Byoungro So created CB-10550:
--------------------------------

             Summary: no plugin id mapper enforced when a version is specified
                 Key: CB-10550
                 URL: https://issues.apache.org/jira/browse/CB-10550
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
            Reporter: Byoungro So
            Assignee: Byoungro So


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.
{code}
[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{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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