Skip to content

Instantly share code, notes, and snippets.

@mycarrysun
Created June 16, 2018 17:26
Show Gist options
  • Save mycarrysun/e4897caa8dbe24f61a18df985eb74af8 to your computer and use it in GitHub Desktop.
Save mycarrysun/e4897caa8dbe24f61a18df985eb74af8 to your computer and use it in GitHub Desktop.
NPM set script shell to bash for WIndows scripts to run properly
npm config set script-shell "C:\\Program Files\\Git\\bin\\bash.exe"
//or
npm config set script-shell "C:\\Program Files (x86)\\git\\bin\\bash.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment