Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
7.0.0
-
None
-
Windows 7
node v6.10.3
npm v3.10.10
cordova 7.0.0
Description
When I install a cordova plugin from a private gitlab repositroy in Windows, I get a HTTP 406 error.
However, the same plugin can be installed successfully in Mac.
I also tried the other two windows PC, but without luck.
The command I used:
cordova plugin add http:///XXX/cordova-plugin-statusbar.git
The errors from the console:
Error: Failed to fetch plugin http://XXX/cordova-plugin-statusbar.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! fetch failed http://XXX/cordova-plugin-statusbar.git
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 406
Attachments
Issue Links
- is related to
-
CB-12756 Cordova@7 does not prompt for password when installing from private git repo
- Open