簡體   English   中英

涼亭寄存器錯誤ENOGIT git未安裝或未在路徑中

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM