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

后端 未结 16 1539
时光说笑
时光说笑 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:40

    Run the following command at your node.js command prompt where "" is the path to your git bin folder:

    set PATH=%PATH%;;
    

    So, like this:

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

    Or this: (Notice the (x86) )

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

    This will add git to your path variables. Be sure you type it correctly or you could possibly delete your path vars which would be bad.

提交回复
热议问题