Alexander Regueiro created CB-13567:
---------------------------------------

             Summary: 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://g...@bitbucket.org/bar/foo.git
yarn run v1.3.2
$ /Users/alex/Software/IINU/foo/node_modules/.bin/cordova plugin add 
git+ssh://g...@bitbucket.org/bar/foo.git
Error: Failed to fetch plugin git+ssh://g...@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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to