[英]bower register error ENOGIT git is not installed or not in the path
我通過以下方式使用Bower寄存器:
bower register example https://github.com/example/example.git
出現錯誤:
register error ENOGIT git is not installed or not in the path
我正在使用git並安裝了gitbash ,我可以推送並提交到我的在線存儲庫(使用tortoisegit),但是從命令行使用bower(任何命令)時,我仍然收到此錯誤。
我正在使用Windows8。您知道如何解決它嗎?
我能夠使用以下方法解決此問題:
set PATH=%PATH%;C:\Program Files\Git\bin;
bower register example https://github.com/example/example.git
希望對其他人有用。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.