slushjs / gulp-install

Automatically install npm and bower packages if package.json or bower.json is found in the gulp file stream respectively
MIT License
106 stars 46 forks source link

npm install fails on windows when running from an npm script #39

Closed baderbuddy closed 7 years ago

baderbuddy commented 8 years ago

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.

joakimbeng commented 7 years ago

Should be fixed in v1.0.1 (I don't have Windows so I cannot confirm)