简体   繁体   English

Bower安装命令错误

[英]Bower install command errors

Hi i cant use bower install command, it always tries to resolve ngTour and i cant figure out what is happening! 嗨,我不能使用bower install命令,它总是尝试解决ngTour,而我无法弄清楚发生了什么! Here is a screenshot of my CMD output. 这是我的CMD输出的屏幕截图。

CMD运行凉亭安装的屏幕截图

Environment 环境

OS: Win 10 Pro 操作系统:Win 10 Pro

npm: 2.11.3 npm:2.11.3

Bower: 1.7.7 凉亭:1.7.7

Url for the repo is https://github.com/hanselsen/ngTour.git not https://github.com/hanselsen/ngTour-ng-route.git so change it on your bower.json by: bower install 'https://github.com/hanselsen/ngTour.git' . 回购的https://github.com/hanselsen/ngTour.githttps://github.com/hanselsen/ngTour.git而不是https://github.com/hanselsen/ngTour-ng-route.git因此可以通过以下方式在bower.json进行更改: bower install 'https://github.com/hanselsen/ngTour.git' bower.json bower install 'https://github.com/hanselsen/ngTour.git' You might want to remove it from that file before. 您可能需要先将其从该文件中删除。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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