2

我正在尝试使用我的办公室代理服务器安装凉亭。我有错误。然后我尝试安装在我的“C”驱动器中。它已安装,但我得到了许多 304 状态。

后来我尝试使用 bower 搜索骨干网,这次我遇到了这样的问题:如何解决这个问题以及我的网络代理或管理员权限等有什么问题?

这是我得到的错误:

C:\Bower>bower search backbone
bower retry         Request to https://bower.herokuapp.com/packages/search/backb
one failed with ETIMEDOUT, retrying in 1.1s
bower retry         Request to https://bower.herokuapp.com/packages/search/backb
one failed with ETIMEDOUT, retrying in 2.6s
bower retry         Request to https://bower.herokuapp.com/packages/search/backb
one failed with ETIMEDOUT, retrying in 5.3s
bower retry         Request to https://bower.herokuapp.com/packages/search/backb
one failed with ETIMEDOUT, retrying in 8.4s
bower retry         Request to https://bower.herokuapp.com/packages/search/backb
one failed with ETIMEDOUT, retrying in 27.0s
bower ETIMEDOUT     Request to https://bower.herokuapp.com/packages/search/backb
one failed: connect ETIMEDOUT

如何解决这个问题?任何人帮助我

4

1 回答 1

1

.bowerrc使用以下标题在您的主目录中创建文件:

{
  "directory": "library",
  "registry": "http://bower.herokuapp.com",
  "proxy":"<YOUR_PROXY>",
  "https-proxy":"<YOUR_HTTPS_PROXY>"
}
于 2014-07-18T13:07:58.787 回答