首页 > 其他 > 详细

Bower : ENOGIT git is not installed or not in the PATH

时间:2016-10-21 13:12:50      阅读:186      评论:0      收藏:0      [点我收藏+]

 

http://www.haorooms.com/post/bower_error

 

第一次使用bower,结果在安装bootstrap时遇到这个问题:

 
$ bower install bootstrap 
bower ENOGIT git is not installed or not in the PATH

按照提示我先安装了git fo window.
安装时记得要勾选 Use Git from the windows Command prompt
完成后,再次运行,问题依然存在。

于是又注意到“or not in the PAHT”

$ PATH

添加git路径(我的是默认安装路径,根据自己的机器情况 更改路径即可)

$ set PATH=%PATH%;C:\Program Files\Git\bin

再次运行

$ bower install bootstrap  
...

 

 

Bower : ENOGIT git is not installed or not in the PATH

原文:http://www.cnblogs.com/duanweishi/p/5984022.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!