Reputation: 1242
I'm trying to install this package through npm npm install bigwheel
on windows using webstorm IDE.
I'm getting
"Error: not found: git" "This is most likely not a problme with npm itself. Please check if you have git installed and in yout Path"
I have https://git-for-windows.github.io/ installed, how do i check the path and fix this error?
Upvotes: 7
Views: 33232
Reputation: 11
In Windows, environment...there are 2 issues here: Installation SourceTree does not mean git.exe is installed, so you need to install latest version first Then go this url (https://github.com/npm/npm/wiki/Troubleshooting) and doing an npm reinstall in the directory where I have my project fixed the problem for me
Upvotes: 0
Reputation: 3945
Please find at which location on your machine git is installed. e.g. C:\Program Files\Git\cmd
and append this to your PATH
variable in environment variables.
To append to path please follow below steps:
Execute below command from new command prompt after appending this:
git --version
It should display something like:
git version 2.9.0.windows.1
After following these steps, try to install npm package and see whether the problem is resolved.
Upvotes: 22