LESS sometimes fails to compile

I am currently using Web Essentials 2013 v2.5.3 in VS2013. I use LESS to create style sheets.

Until recently, all the wishes of LESS worked fine, made changes, saved and the resulting CSS was updated automatically.

Now for some reason I interrupt the behavior when the resulting CSS is not updated and the following error is displayed in the bottom line of VS:

Compiling 0 dependent file for style.less

Once the problem starts, the only possible way to fix it is to restart VS. Then the problem stops for a while, but later returns after a while.

I recently installed the Power Tools extension (PPT) and noticed this behavior after it was installed. However, I have now disabled PPT and the problem is still repeating. So this may or may not be related.

I also tried ReSharper just recently, and then turned it off some time later, so that could be related.

Any ideas appreciated.

UPDATE 1 2015-05-14

I noticed that when this happens, I get the following message in the "Build" window:

Something went wrong: http://127.0.0.1:62583/?service=LESS&sourceFileName=C:/Path/To/Project/ProjectDir/Content/style.less&targetFileName=C:/Path/To/Project/ProjectDir/ Content / style.css & mapFileName = C: /Path/To/Project/ProjectDir/Content/style.css.map&sourceMapURL&autoprefixer&autoprefixerBrowsers=last 5 versions

0
css visual-studio-2013 less asp.net-mvc
Apr 23 '15 at 14:26
source share
1 answer

I developed what causes this. Everything is fine until I try to edit and save the JS file. Then the following is displayed in the assembly output window:

Something went wrong: http://127.0.0.1:14886/?service=JSCS&sourceFileName=C:/Path/To/Project/ProjectDir/Scripts/order.js

Anytime after that, I get an error when I try to save the LESS file, so I assume that everything that is broken in the ASS Web Essentials world also causes LESS to be compromised.

I fixed this by actually almost disabling AOS using the answer provided here by Brian Reiner .

LESS files seem to return to compilation as usual.

0
May 14 '15 at 13:20
source share



All Articles