0

I am trying to install angularjs using bower in OSX el-captain. When I run bower install, it outputs a few lines like:

bower cached        git://github.com/twbs/bootstrap.git#3.3.6
bower validate      3.3.6 against git://github.com/twbs/bootstrap.git#*

but then becomes stuck. I tried the verbose option as well, in the hope that I will get more information but the output remains the same.

Any ideas why it is getting stuck??

Thanks.

Priya
  • 1,359
  • 6
  • 21
  • 41
pokiman
  • 956
  • 2
  • 12
  • 20

2 Answers2

0

I had the same problem, try this fix, it will use https method instead of git method.

git config --global url.https://.insteadOf git://

Hope it will fix your problem.

0

your system might be blocking while downloading the packages from git by bower because of few proxy settings. so In your .bowerrc file you need to give proxy configurations.

This link might help you! bower behind a proxy

here is the example .bowerrc file:

{
  "directory": "bower_components",
  "proxy":"your proxy http url",
    "https-proxy":"http://<username>:<password>@<your proxy>"
}

in the above settings you need to replace with your information.

Community
  • 1
  • 1
Danda
  • 380
  • 1
  • 2
  • 14