[jira] [Commented] (CB-12782) [Windows] Install cordova plugins from private gitlab repository failed with status code 406.
[ https://issues.apache.org/jira/browse/CB-12782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028078#comment-16028078 ] André Fiedler commented on CB-12782: Same issue for me, it works with Cordova 6.5.0 but it fails with Cordova 7.0.1 > [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: 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: > {quote} > cordova plugin add http:///XXX/cordova-plugin-statusbar.git > {quote} > The errors from the console: > {quote} > 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 > {quote} -- 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
[jira] [Commented] (CB-12782) [Windows] Install cordova plugins from private gitlab repository failed with status code 406.
[ https://issues.apache.org/jira/browse/CB-12782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006203#comment-16006203 ] Steve Gill commented on CB-12782: - Probably related to https://issues.apache.org/jira/browse/CB-12756 > [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: 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: > {quote} > cordova plugin add http:///XXX/cordova-plugin-statusbar.git > {quote} > The errors from the console: > {quote} > 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 > {quote} -- 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