cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Caramba (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13507) git+https or git+ssh fails when trying to install
Date Tue, 27 Mar 2018 14:49:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16415748#comment-16415748
] 

Andrey Caramba commented on CB-13507:
-------------------------------------

Hello, Warren. Thanks for the answer.

Yes, plugins are installed correctly if I use 2-step installation via git clone. It also works
if I install plugins with the --nofetch option. But I have some git+ssh plugins with node
dependencies and with the above methods I need to add all these dependencies into my project
package.json. Also I'd want to use cordova prepare mechanism to simplify my project deployment.
And this bug greatly complicates my development process.

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message