[ 
https://issues.apache.org/jira/browse/CB-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522118#comment-14522118
 ] 

Tony Homer commented on CB-8662:
--------------------------------

[~sluglit] - Thanks for the helpful comment.  Not sure where you got 0.4.1, but 
I installed 0.4.0 and it fixed it.
I ran into the same problem using an older Cordova, but it appears that the 
problem is that cordova-lib 4.3.0 is dependent on [an old 
npm|https://github.com/apache/cordova-lib/blob/4.3.0/cordova-lib/package.json#L28],
 which is dependent on an old request, which is dependent on an old 
tunnel-request.  This is still true in master.

[~stevegill] - Would it be possible to update cordova-lib to a newer npm?  I'm 
very much of a node newb, so I have no idea if this would be the right way to 
get a newer tunnel-agent, but it appears this outdated dependency causes some 
[serious pain for corporate 
users|https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=cordova+%22Request+path+contains+unescaped+characters%22]!

> Latest release of Cordova breaks http via proxy
> -----------------------------------------------
>
>                 Key: CB-8662
>                 URL: https://issues.apache.org/jira/browse/CB-8662
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>         Environment: Windows
> Node.js 0.12.0
> npm 2.5.1
> Cordova 4.3.0
>            Reporter: John Little
>
> I work behind a squid firewall and need the HTTP_PROXY settings in the npm 
> config to work.
> After upgrading cordova to version 4.3.0 any package add's or upgrades using 
> cordova would fail with the following error :-
>   TypeError: Request path contains unescaped characters.
> After a bit of searching I found this thread which sounded like my problem :-
>    https://github.com/npm/npm/issues/4569
> I followed the instructions and downloaded the latest tunnel-agent and copied 
> the files over the ones in my nodejs install directory.
> It seems that the new cordova package provides an updated request module 
> which is not compatible with the tunnel-agent.
> After this manual upgrade every thing works ok.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to