Angular-route bower 下载问题

Angular-route bower download issue

我在下载 angular-route through bower.json 文件时遇到问题。据我所知,今天它 (angular-route) 已更新到版本 1.5.4,但下载 1.5.3 或 1.5.4 对我来说会引发错误。

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

我试过使用以下方式下载它:

"angular-route": "*"

"angular-route": "~1.5.3"

"angular-route": "~1.5.4"

但我总是遇到相同的 ECMDERR 错误。我尝试创建新项目只是为了测试它是否在那里工作,但我得到了相同的结果。我在下载 "angular" 或任何其他软件包时没有遇到问题。

所以在 bower.json 文件中作为我写的另一个依赖项:

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

成功了。

这是 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.