git is not installed or not in the PATH

前端 未结 9 1217
天涯浪人
天涯浪人 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条回答
  •  心在旅途
    2020-12-05 07:07

    Go to Environmental Variables you will find this in Computer Properties->Advance system Setting->Environmental Variables -> Path

    Add the path of your git installed int the system. eg: "C:\Program Files\Git\cmd"

    Save it. Good to go now!!

提交回复
热议问题