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

git+https or git+ssh fails when trying to install

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.0.2
    • 8.0.0
    • cordova-fetch, cordova-lib
    • None

    Description

      I start with adding plugin dependencies with https://...... on package.json (no plugin references on config.xml) and no platforms or plugins installed then I run "cordova platform ios".
      It installs the plugins without any problem, but changes config.xml and package.json plugin references from https to git+https, and ssh to git+ssh.

      Failed to restore plugin "cordova-plugin-document-viewer" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin git+https://github.com/kas84/cordova-plugin-document-viewer.git via registry

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pablo.caselas Pablo Caselas
              Votes:
              7 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: