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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.2
    • Fix Version/s: 8.0.0
    • Component/s: cordova-fetch, cordova-lib
    • Labels:
      None
    • Environment:

      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

              • Assignee:
                Unassigned
                Reporter:
                pablo.caselas Pablo Caselas
              • Votes:
                7 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: