Affects Version/s: 5.0.0, 4.3.0
Fix Version/s: None
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 :-
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.