git is not installed or not in the PATH

前端 未结 9 1220
天涯浪人
天涯浪人 2020-12-05 06:14

Windows, when I try to run npm install, it shows:

mean@1.0.0 postinstall E:\\mean
node node_modules/grunt-cli/bin/grunt install
Running \"bower:         


        
9条回答
  •  旧时难觅i
    2020-12-05 06:52

    I did install git and tried again and got the same error. But running 'npm install' in a new command prompt window worked for me. Restarting the machine is not required.

提交回复
热议问题