Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bower install - failed with ETIMEDOUT

Tags:

When I run bower install, I get the following error:

Request to https://bower.herokuapp.com/packages/jquery failed with ETIMEDOUT, retrying in 1.8s

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.

Anyone?

like image 915
AlwaysALearner Avatar asked Apr 07 '14 14:04

AlwaysALearner


2 Answers

Try edit .bowerrc

"proxy":"http://<host>:<port>", "https-proxy":"http://<host>:<port>", "strict-ssl": false 
like image 180
Robert Moon Avatar answered Sep 20 '22 12:09

Robert Moon


Have you tried something like http_proxy='proxyserver' https_proxy='proxyserver' bower install? (where proxyserver is your proxy)

like image 31
Mangled Deutz Avatar answered Sep 22 '22 12:09

Mangled Deutz