我正在尝试将Bower用于Web应用程序,但发现自己遇到了某种代理问题:
D:\>bower search jquery
bower retry Request to https://bower.herokuapp.com/packages/search/jquery failed with ECONNRESET, retrying in 1.2s
bower retry Request to https://bower.herokuapp.com/packages/search/jquery failed with ECONNRESET, retrying in 2.5s
bower retry Request to https://bower.herokuapp.com/packages/search/jquery failed with ECONNRESET, retrying in 6.8s
bower retry Request to https://bower.herokuapp.com/packages/search/jquery failed with ECONNRESET, retrying in 15.1s
bower retry Request to https://bower.herokuapp.com/packages/search/jquery failed with ECONNRESET, retrying in 20.3s
bower ECONNRESET Request to https://bower.herokuapp.com/packages/search/jquery failed: tunneling socket could not be established, cause=Parse Error
相关要点:
- 我可以浏览到https://bower.herokuapp.com/packages/search/jquery,它返回完整的json响应。
- 我可以使用git://协议和http(s)来克隆。
- 没有这些问题,我可以直接使用NPM
- 我尝试使用Fiddler来确定被阻止的内容,但是它无法检测到Bower命令的任何调用。我可以在Fiddler中看到来自NPM命令的调用。
- 我搜索了Bower问题列表,发现了类似的问题,但是它们要么没有解决方案,要么看起来与我的不太相同。
有任何想法吗?