vtst / ow

Various Eclipse plugins for web development

Home Page:http://www.normalesup.org/~simonet/soft/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot run program "lessc": error=2, No such file or directory

hellochar opened this issue · comments

My usual workflow is to have a Java server running (through Eclipse), edit a LESS file, refresh my web browser and see the style changes. Occasionally the changes will just stop showing up. Looking into the compiled css files shows that they're not getting the new LESS changes. If I stop the server and try running again, I get an error box:

Cannot be launched because of an I/O exception

Cannot run program "lessc": error=2, No such file or directory

This prevents me from rerunning the server. Usually a clean or restart of Eclipse will fix the issue. My error log shows me errors which I filed in #230, but there aren't any errors around the time the LESS files stop building.

Sorry! This issue is unrelated to your plugin.

Hi, @hellochar . May I know how you resolved your issue? I'm encountering the same issue.

you need to do install node-less on your machine, so you able to generate js and css

sudo apt-get install npm && sudo npm install -g less