Bower安装总是失败多次显示ETIMEDOUT和ESOCKETTIMEDOUT。我已经禁用了所有bash env代理变量和npm代理变量。现在我在没有任何代理的开放网络上。所有其他人都运行良好,如npm install,wget等
以下是.bowerrc
文件:
{
"directory": "www/lib",
"registry": "http://bower.herokuapp.com"
}
这是凉亭安装日志
bower retry Request to http://bower.herokuapp.com/packages/ionic failed with ETIMEDOUT, retrying in 1.2s
bower retry Request to http://bower.herokuapp.com/packages/ydn.db failed with ETIMEDOUT, retrying in 1.9s
bower retry Request to http://bower.herokuapp.com/packages/ngCordova failed with ETIMEDOUT, retrying in 1.1s
bower retry Request to http://bower.herokuapp.com/packages/angular-mocks failed with ETIMEDOUT, retrying in 1.9s
bower retry Request to http://bower.herokuapp.com/packages/angular-md5 failed with ETIMEDOUT, retrying in 1.5s
bower retry Request to http://bower.herokuapp.com/packages/angular-translate failed with ETIMEDOUT, retrying in 2.0s
bower retry Request to http://bower.herokuapp.com/packages/angular-translate-loader-partial failed with ETIMEDOUT, retrying in 1.8s
bower retry Request to http://bower.herokuapp.com/packages/angular-aria failed with ETIMEDOUT, retrying in 1.3s
bower retry Request to http://bower.herokuapp.com/packages/moment failed with ETIMEDOUT, retrying in 1.9s
bower retry Request to http://bower.herokuapp.com/packages/jszip failed with ETIMEDOUT, retrying in 1.8s
bower retry Request to http://bower.herokuapp.com/packages/oclazyload failed with ETIMEDOUT, retrying in 1.2s
bower retry Request to http://bower.herokuapp.com/packages/ckeditor failed with ETIMEDOUT, retrying in 1.2s
bower retry Request to http://bower.herokuapp.com/packages/angular-ckeditor failed with ETIMEDOUT, retrying in 1.5s
bower retry Request to http://bower.herokuapp.com/packages/angular-messages failed with ETIMEDOUT, retrying in 1.7s
bower retry Request to http://bower.herokuapp.com/packages/ngCordova failed with ETIMEDOUT, retrying in 2.8s
bower retry Request to http://bower.herokuapp.com/packages/ckeditor failed with ESOCKETTIMEDOUT, retrying in 3.5s
答案 0 :(得分:0)
试试吧
"proxy":"http://<host>:<port>",
"https-proxy":"http://<host>:<port>",
"strict-ssl": false