Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why does bower hang when installing?

Tags:

bower

$ bower install angular-animate --save bower cached git://github.com/angular/bower-angular-animate.git#1.2.18 bower validate 1.2.18 against git://github.com/angular/bower-angular-animate.git#* bower cached git://github.com/angular/bower-angular.git#1.2.18 bower validate 1.2.18 against git://github.com/angular/bower-angular.git#1.2.18 bower cached git://github.com/angular/bower-angular.git#1.2.18 bower validate 1.2.18 against git://github.com/angular/bower-angular.git#>=1.2.* bower cached git://github.com/angular/bower-angular.git#1.2.18 bower validate 1.2.18 against git://github.com/angular/bower-angular.git#^1.0.8 bower cached git://github.com/angular/bower-angular.git#1.2.18 bower validate 1.2.18 against git://github.com/angular/bower-angular.git#>=1.0.0 <1.4.0

like image 597
chovy Avatar asked Jun 26 '14 05:06

chovy


2 Answers

I removed bower_components and reinstalled and it worked fine. Another thing that fixed the problem of resolving dependencies was to run bower cache clean

like image 161
chovy Avatar answered Oct 24 '22 01:10

chovy


I know this is an old issue but I was having the same problem today using bower to install angular sanitize, and wanted to add my two cents, in case someone has this issue again. Not sure if this is the best solution but it worked. I added the force flag

bower install angular-animate  --save --force

you can also try before:

bower cache clean

bower cache list

Also I deleted the libraries that bower had pulled in previously

like image 3
Mariano_Stanco Avatar answered Oct 24 '22 01:10

Mariano_Stanco