首页 > 代码库 > Bower : ENOGIT git is not installed or not in the PATH
Bower : ENOGIT git is not installed or not in the PATH
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。