You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2018/01/25 22:30:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Jan Piotrowski (Sujan) updated CB-12782:
----------------------------------------
    Component/s:     (was: cordova-windows)

> [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
>    Affects Versions: 7.0.0
>         Environment: Windows 7
> node v6.10.3
> npm v3.10.10
> cordova 7.0.0
>            Reporter: Xu Chao
>            Priority: Major
>              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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org