Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
OS X 10.13, Node 8.9.1, NPM 5.5.1, Cordova 7.10
Description
I cannot add a plugin to Cordova using a git+ssh URL. The following error is returned:
$ 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.
However, if I specify the -nofetch argument, it succeeds. This is clearly not ideal going forwards, since -nofetch is considered a backwards-compatibility option.
Attachments
Issue Links
- duplicates
-
CB-13507 git+https or git+ssh fails when trying to install
- Closed