Answer the question
In order to leave comments, you need to log in
How to fix error in PHPStorm (YUI Compressor, File Watchers)?
Installed YUI Compressor via sudo npm install -g yuicompressor.
After that I included it in PHPStorm. Created a file less.css but an error pops up:
/usr/local/bin/yuicompressor less.css -o less.min.css
execvp(): No such file or directory
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)
Process finished with exit code 8
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question