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

cli v7 cannot add plugin via git+ssh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.0.0, 7.0.0, 6.5.0
    • None
    • cordova-cli
    • Ubuntu 16.04 x64

    Description

      In previous versions (including 6.5), the following command would work:

      cordova plugin add git+ssh://git@github.com/XXX/XXX.git#HASH

      This appears to be broken in v7; it results in the following error:

      Error: Failed to fetch plugin ssh://git@github.com/XXX/XXX#HASH via registry.
      Probably this is either a connection problem, or plugin spec is incorrect.
      Check your connection and plugin name/version/URL.
      Failed to get absolute path to installed module

      Attachments

        Activity

          People

            Unassigned Unassigned
            chris.hunt@movegb.com Chris Hunt
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: