Sven-Michael Stübe
Sven-Michael Stübe

Reputation: 14760

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.

Upvotes: 6

Views: 662

Answers (2)

Megajin
Megajin

Reputation: 2768

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.

Upvotes: 3

ChrisTorng
ChrisTorng

Reputation: 742

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.

Upvotes: 2

Related Questions