javascript - Angular-route Bower 下载问题

标签 javascript angularjs git bower

我在通过 Bower.json 文件下载 Angular-route 时遇到问题。据我所知,今天它( Angular 路线)已更新到版本 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”或任何其他包时没有遇到问题。

最佳答案

这是AngularJS发布过程中的一个bug:https://github.com/angular/angular.js/issues/14434

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

关于javascript - Angular-route Bower 下载问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36483139/

相关文章:

windows - 如何在具有跨平台兼容性的 Git 提交中强制执行一致的行结尾

javascript - 加载显示div,更改切换元素?

javascript - 当 bool 变为 true 时,如何触发函数调用?

javascript - 使用 Javascript 对象作为对象键

javascript - 使用 Angular 的解析 : {}? 时链接 promise 的最佳方式是什么

git - 如何在没有冲突的情况下在 git 中 pull 远程分支?

git - Azure 集成源代码控制多个项目

javascript - 等待异步 Javascript 函数结束以检索结果(延迟?)

javascript - 如何通过 npm 安装 Angular 版本 1.1.5

javascript - AngularJS 中的分页刷新问题