Bower error tunneling socket could not be established, cause=Parse Error

≯℡__Kan透↙ 提交于 2019-11-30 19:32:29

If changing the proxy settings as pointed out by Vipul is not sufficient also change the registry:

npm config set registry http://registry.npmjs.org/

I really don't know why but clearing an .npmrc file in my home fixed it.

Following command work for me

npm config set proxy "http://domain\username:password@servername:port/"

I was getting the same issue with corporate proxy ON.

The solution is you just need to set system environment variables 'http_proxy' & 'https_proxy' to http://username:password@proxyname:port/

No need to clear .npmrc file.

Its a clear proxy issue and not a node issue. :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!