BELL安装因EC2中的ETIMEDOUT而失败

时间:2016-07-20 10:10:37

标签: node.js amazon-web-services amazon-ec2 bower bower-install

我从我的EC2 Ubuntu实例运行bower install并获得了Request to https://bower.herokuapp.com/packages/foundation-sites failed with ETIMEDOUT, retrying in 1.4s

npm install正常工作,Bower全球安装

我将实例添加到一个安全组,该安全组允许所有入站和出站用于此问题,但仍无法正常工作。

我了解Elastic Beanstalk等等,但对如何从我的EC2实例中进行此操作感兴趣。

1 个答案:

答案 0 :(得分:0)

将.bowerrc编辑到下面,然后尝试安装。

"proxy":"http://<host>:<port>",
"https-proxy":"http://<host>:<port>",
"strict-ssl": false