Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10550

no plugin id mapper enforced when a version is specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-lib
    • 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

      Attachments

        Activity

          People

            bso Byoungro So
            bso Byoungro So
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: