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 have node.js
command prompt and when I type in npm -v
then it returns 3.7.3
. How come it doesn't work in git?
In our case, the solution was simply to close the Git bash window and re-open it.