ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

bug: TypeError: Request path contains unescaped char

Open perrygovier opened this issue 11 years ago • 42 comments

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

perrygovier avatar Mar 20 '15 20:03 perrygovier

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.

jthoms1 avatar Oct 28 '16 00:10 jthoms1

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

PabloEzequiel avatar Jan 04 '17 18:01 PabloEzequiel