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

后端 未结 16 1500
时光说笑
时光说笑 2020-11-29 14:52

Git is installed and is in the path.

Platform: Red Hat Enterprise Linux 5.8.

>which git
/usr/local/bin/git

Yet bower can\'t find

16条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-29 15:46

    I also got the same problem from cmd and resolved using the following steps.

    First install the https://msysgit.github.io/ (if not alredy installed). Then set the Git path as suggested by skinneejoe:

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

    Or this (notice the (x86)):

    set PATH=%PATH%;C:\Program Files (x86)\Git\bin;
    

提交回复
热议问题