Huseyin TUNC Huseyin TUNC - 1 month ago 7
CSS Question

"There is no no-color option ("less --help" for help)" LESS

I've been using less for front-end development but i'm getting this error last couple days.

I'm using PhpStorm's watchers to compile less files to css files. But when i edited the less file, the compiler adds this line to top of css file and the css file doesn't work anymore.

Also it doesnt even compile the less file;
enter image description here

Answer

The proper name for LESS compiler is lessc which is installed as npm package (npm install -g less). It is written in JavaScript and requires nodejs to run.

The less command you are using seems to be the standard Linux/Unix "less" command.

Comments