简体   繁体   中英

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.

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.

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

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

and it worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM