cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Fiedler (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CB-12782) [Windows] Install cordova plugins from private gitlab repository failed with status code 406.
Date Mon, 29 May 2017 06:57:04 GMT

    [ 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message