A
A
Alexander2016-02-26 18:06:11
Node.js
Alexander, 2016-02-26 18:06:11

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

2 answer(s)
A
Alexander, 2016-02-28
@kentuck1213

Everything just needed to install the JDK or set the PATH path.

A
Alexander, 2016-02-26
@w4r_dr1v3r

Judging by the Unhandled 'error' eventKuri Handlers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question