凉亭安装-失败,出现ETIMEDOUT [英] Bower install - failed with ETIMEDOUT
问题描述
当我运行 bower install
时,出现以下错误:
When I run bower install
, I get the following error:
对 https://bower.herokuapp.com/packages/jquery 的请求因
而失败ETIMEDOUT,
在1.8秒内重试
Request to https://bower.herokuapp.com/packages/jquery failed with ETIMEDOUT, retrying in 1.8s
但是当我在Chrome地址栏中运行相同的网址时, json。我不知道为什么使用Windows 7命令外壳进行 bower安装
时为什么失败。我怀疑这与我的工作场所的代理服务器设置有关。
But when I run the same URL in the address bar of Chrome, I get the json. I don't know why it fails when I do bower install
using Windows 7 command shell. I suspect it has got something to do with my workplace's proxy settings.
有人吗?
推荐答案
您是否尝试过类似 http_proxy ='proxyserver'https_proxy ='proxyserver'的凉亭安装方式?
(其中proxyserver是您的代理)
Have you tried something like http_proxy='proxyserver' https_proxy='proxyserver' bower install?
(where proxyserver is your proxy)
这篇关于凉亭安装-失败,出现ETIMEDOUT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!