Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sass failing to compile - Web Essentials 2013 Update 4 "Unable to find resource"

Does anybody have an idea, what causes the following error?

23.07.2015 17:48:14: SCSS: Compiling widgetmain.scss
23.07.2015 17:48:14: Looking for resource @ http://localhost.:55559/
23.07.2015 17:48:14: Looking for resource @ http://localhost.:55559/
23.07.2015 17:48:15: Looking for resource @ http://localhost.:55559/
23.07.2015 17:48:15: Looking for resource @ http://localhost.:55559/
23.07.2015 17:48:15: Looking for resource @ http://localhost.:55559/
23.07.2015 17:48:16: Looking for resource @ http://localhost.:55559/
23.07.2015 17:48:16: Unable to find resource, aborting

It occurs when I save a scss file. It occurs even when I clear the file completely. That's why I did not post any source code. The port number changes every time.

When I open the compiled view of the file it shows:

/*
Compilation Error occurred (see error list to navigate to the error location):
*/

I already reinstalled Web Essentials, but I had no luck.

like image 635
Sven-Michael Stübe Avatar asked Jul 23 '15 16:07

Sven-Michael Stübe


2 Answers

Windows Solution:

  1. Open up your command prompt and try to ping localhost. (with dot at the end).
  2. If you can ping localhost. you can go ahead an open up your system control. Type 'proxy' into the search box and click on 'configure proxyserver'.
  3. Go to the tab 'Connections' -> Lan-Properties -> uncheck everything and press Ok.

PS.: If you can't ping localhost. you have another problem. Try to fix that first (like fixing your host file).

Try to compile now. This solution worked for me. Hope it helps.

like image 53
Megajin Avatar answered Oct 22 '22 21:10

Megajin


According to https://github.com/madskristensen/WebEssentials2013/issues/1914 @efepuntomarcos's information, I add "localhost." (that has a dot at the end) into the proxy ignore list in IE, that also fix this problem and maintains IE's function.

like image 2
ChrisTorng Avatar answered Oct 22 '22 23:10

ChrisTorng