JanRad
JanRad

Reputation: 327

Angular-route bower download issue

I have problem downloading angular-route through bower.json file. From what I see, today it (angular-route) got updated to version 1.5.4, yet downloading either 1.5.3 or 1.5.4 throws an error for me.

PATH=.\node_modules.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\Bower.cmd" install --force-latest

bower angular-route#~1.5.3 not-cached https://github.com/angular/bower-angular-route.git#~1.5.3

bower angular-route#~1.5.3 resolve https://github.com/angular/bower-angular-route.git#~1.5.3

bower angular-route#~1.5.3 checkout v1.5.3

bower angular-route#~1.5.3 ECMDERR Failed to execute "git clone https://github.com/angular/bower-angular-route.git -b v1.5.3 --progress . --depth 1", exit code of #-532462766

I have tried downloading it using:

"angular-route": "*"

"angular-route": "~1.5.3"

"angular-route": "~1.5.4"

but i always get the same ECMDERR error. I have tried creating new project just to test if it works there but I get same results. I did not have problems downloading "angular" or any other packages.

Upvotes: 1

Views: 491

Answers (2)

Karens
Karens

Reputation: 623

It is a bug in the release process of AngularJS: https://github.com/angular/angular.js/issues/14434

More precisely, there was an issue with the release and not all modules have benn published.

Upvotes: 1

JanRad
JanRad

Reputation: 327

So in the bower.json file as another dependency I wrote:

"angular-route": "git://github.com/angular/bower-angular-route.git"

and it worked.

Upvotes: 0

Related Questions