[
https://issues.apache.org/jira/browse/CB-13507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16362034#comment-16362034
]
Hector commented on CB-13507:
-----------------------------
Solved for me after updating to [email protected]
> git+https or git+ssh fails when trying to install
> -------------------------------------------------
>
> Key: CB-13507
> URL: https://issues.apache.org/jira/browse/CB-13507
> Project: Apache Cordova
> Issue Type: Bug
> Components: AllPlatforms
> Affects Versions: 7.0.2
> Environment: I am selecting 7.0.2 since it's the closest but I am
> running cordova 7.1.0
> OS: Mac OS X Sierra.
> Although I don't think it has anything to do with cordova-ios and
> cordova-android, my platform versions are:
> - android 6.3.0
> - ios 4.5.2
> Reporter: Pablo Caselas
> Priority: Major
> Fix For: 7.0.2
>
>
> 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]