When running gulp-install via npm script it changes the path to include the location of node's install, which is c:\program files, the which command will find the full path in program files, but spawn has trouble with the space. If instead of the full path if just npm.cmd is used then it does work.
When running gulp-install via npm script it changes the path to include the location of node's install, which is c:\program files, the which command will find the full path in program files, but spawn has trouble with the space. If instead of the full path if just npm.cmd is used then it does work.