I'm new to using LESS, and to Bootstrap, and I'm building a site for fun. When I run make
in my bootstrap
directory, if I screwed something up in my variables.less
file I get a totally useless error message:
##################################################
Building Bootstrap...
##################################################
Running JSHint on javascript... ✔ Done
/usr/local/lib/node_modules/less/lib/less/parser.js:385
throw new(LessError)(e, env);
[object Object]
make: *** [build] Error 1
How can I get some line numbers or something? It wasn't too bad to figure out what was going on in this case (I misused lighten(@color, 15%)
) but if I start hacking the design quite a bit as desired I feel like I'm going to run in to trouble, being a LESS newb and all.
Any suggestions? Thanks.
I had exactly the same issues and I ran lessc
directly (as merv suggested). I immediately had a context-sensitive error that I could deal with. Thanks, merv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With