[ https://issues.apache.org/jira/browse/CB-12782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xu Chao updated CB-12782: ------------------------- Labels: install plugins (was: plugins) > [Windows] Install cordova plugins from private gitlab repository failed with > status code 406. > ---------------------------------------------------------------------------------------------- > > Key: CB-12782 > URL: https://issues.apache.org/jira/browse/CB-12782 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-plugins, cordova-windows > Affects Versions: 7.0.0 > Environment: Windows 7 > node v6.10.3 > npm v3.10.10 > cordova 7.0.0 > Reporter: Xu Chao > Labels: install, plugins > > 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://{mygitlabhost}/{pluginpath}.git > The errors from the console: > Error: Failed to fetch plugin http://XXX/cordova-plugi > n-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-status > bar.git > npm WARN retry will retry, error on last attempt: Error: fetch failed with > statu > s code 406 -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org