1👍
First, make sure Git for Windows is in your PATH, as seen here.
The best practice is to execute npm install
from a git bash
session, to be sure to be in an environment where Git will be active, even if not directly in your PATH.
👤VonC
Source:stackexchange.com