Visual Studio 2012 Update 2
Web Essentials 2.7
Hello, Every time when I try to change or create any .less file, I got this message in css preview:
/*
Compile Error.
See error list for details
*/
And when I open Error List, I can see this:
LESS:
This thing same everytime, no description at all. It doesn't depend from code, even this code generate error:
body {
}
What shall I do?
I've been having this issue with Web essentials 2.7 and I still have it with v 3.2. Error message now reads as "LESS: Unrecognised input".
The only way I could get rid off this issue is to save main less file and all imported less files with encoding "UTF-8 without encoding" (File save, open Save As to find this option).
That's strange because Web essentials long time ago told BOM file markers bug was fixed. Also some other guys with same version of Web essentials do not have this issue using the same files.
So try for yourself, maybe it can help.
Look at this:Web Essentials LESS Compiler gives no Error Messages
try to uninstalled Web Essentials, then re-installed them.
Try to add this to the start of your less file:
*{}
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