npm config set script-shell "C:\\Program Files (x86)\\git\\bin\\bash.exe" or (64bit installation) npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe" Note that you need to have git bash for windows installed. You can revert it by running: npm config delete script-shell