tdewolff/minify

`npm i @tdewolff/minify` fails on Windows

alex-jitbit opened this issue · 3 comments

Really wanted to try this minifier, but got an error message:
npm error 'C:\Program' is not recognized as an internal or external command,

Probably because node/npm is installed in Program Files and you're missing quotes aourd a path with a space somewhere.

Could your post the complete log?

npm error code 1
npm error path C:\XXXXXXXXXX\node_modules\@tdewolff\minify
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp-build
npm error 'C:\Program' is not recognized as an internal or external command,
npm error operable program or batch file.

Is that the whole log? This might be a node-gyp-build problem, but I'm not sure...