Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm i @tdewolff/minify fails on Windows #727

Open
alex-jitbit opened this issue Jul 10, 2024 · 3 comments
Open

npm i @tdewolff/minify fails on Windows #727

alex-jitbit opened this issue Jul 10, 2024 · 3 comments

Comments

@alex-jitbit
Copy link

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.

@tdewolff
Copy link
Owner

Could your post the complete log?

@alex-jitbit
Copy link
Author

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.

@tdewolff
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants