How come npm install doesn't work on git bash

前端 未结 13 1205
天涯浪人
天涯浪人 2020-12-07 19:00

I have git bash open and I type in npm install and then it returns:

bash: npm command not found

I don\'t understand, because I

13条回答
  •  庸人自扰
    2020-12-07 19:43

    I had the same issue and I successed to solve it by changing the git enviornment system variable from C:\Program Files\Git\cmd to C:\Program Files\Git

    Hope that will help someone

提交回复
热议问题