On Windows, npm scripts run under cmd.exe.
If you have Git for Windows installed, you can make npm scripts run under Bash. This allows you to somewhat mimic a Linux or macOS environment.
Check to see where npm is installed:
npm ls -g --depth=0
On Windows, npm scripts run under cmd.exe.
If you have Git for Windows installed, you can make npm scripts run under Bash. This allows you to somewhat mimic a Linux or macOS environment.
Check to see where npm is installed:
npm ls -g --depth=0