Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to configure less in eclipse?

I downloaded the plugin from http://www.normalesup.org/~simonet/soft/ow/eclipse-less.en.html.

and installed in on eclipse however when I try to compile the less to css I get this error

Cannot be launched because of an I/O exception
Cannot run program "lessc": CreateProcess error=2, The system cannot find the file specified

can anyone whose successfully installed this guide me in the right direction ? Also xtext is installed already.

like image 912
Paul Brunache Avatar asked Jul 13 '14 02:07

Paul Brunache


1 Answers

There is a similar issue for the lessc GitHub repo: issues/213

I added a new launch configuration as follows:

LESS command: lessc (existing)
Compress the generated CSS file (existing)
Use this launch configuration as default

Your have to change the "LESS Command".
Please filling your "lessc" physical path, just like "C:\Users\[Yourname]\AppData\Roaming\npm\lessc.cmd"
(Windows 7, node.js standard installer)

That means you must indicate the full path of lessc.cmd

like image 176
VonC Avatar answered Oct 07 '22 03:10

VonC