Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"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

like image 605
htunc Avatar asked Feb 09 '16 10:02

htunc


1 Answers

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.

like image 113
LazyOne Avatar answered Nov 15 '22 07:11

LazyOne