cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-13567) Cannot add plugin from git+ssh URL
Date Sun, 26 Nov 2017 23:57:00 GMT

     [ https://issues.apache.org/jira/browse/CB-13567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

jcesarmobile closed CB-13567.
-----------------------------
    Resolution: Duplicate

Closing as duplicate of CB-13507

> Cannot add plugin from git+ssh URL
> ----------------------------------
>
>                 Key: CB-13567
>                 URL: https://issues.apache.org/jira/browse/CB-13567
>             Project: Apache Cordova
>          Issue Type: Bug
>         Environment: OS X 10.13, Node 8.9.1, NPM 5.5.1, Cordova 7.10
>            Reporter: Alexander Regueiro
>            Priority: Blocker
>
> I cannot add a plugin to Cordova using a git+ssh URL. The following error is returned:
> {noformat}
> $ yarn cordova plugin add git+ssh://git@bitbucket.org/bar/foo.git
> yarn run v1.3.2
> $ /Users/alex/Software/IINU/foo/node_modules/.bin/cordova plugin add git+ssh://git@bitbucket.org/bar/foo.git
> Error: Failed to fetch plugin git+ssh://git@bitbucket.org/bar/foo.git 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
> error Command failed with exit code 1.
> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
> {noformat}
> However, if I specify the _-nofetch_ argument, it succeeds. This is clearly not ideal
going forwards, since _-nofetch_ is considered a backwards-compatibility option.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message