bug: TypeError: Request path contains unescaped char
From @Kyozatch on March 19, 2015 8:43
Type: bug
Platform: all
Hi,
I just downloaded ionic. I created the project without any problem but, when i tried "ionic platform add android" i got an error : "npm http GET https://registry.npmjs.org/cordova-android/3.7.1 TypeError: Request path contains unescaped characters."
I was looking for a solution on google, it seems to be a proxy problem. However, I already set my proxy config and it works..
ionic : 1.3.16 cordova : 4.3.0 node : 0.12.0
Thanks
Copied from original issue: driftyco/ionic#3355
Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.
Thanks a lot +geisi93 !
That works for me, replace: (x86)\nodejs\node_modules\npm\node_modules\request\node_modules\tunnel-agent
with the content of this zip:
https://github.com/mikeal/tunnel-agent