Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web Essentials SCSS compile error

I am trying to compile the SCSS files in a projetc using Visual Studio 2013 and Web Essentials. Here is the error I am getting in the visual studio output window is

Something went wrong reaching: http://127.0.0.1:52658/?service=SCSS&sourceFileName=C:\Development\KnockApp\KnockApp\KnockApp.Web\Content\scss\directory.scss&targetFileName=C:\Users\IEUser\AppData\Local\Temp\3510b388-06aa-48bb-b517-e1442399e924.css&mapFileName=C:\Users\IEUser\AppData\Local\Temp\3510b388-06aa-48bb-b517-e1442399e924.css.map&precision=5&outputStyle=expanded& 

SCSS: directory.scss compilation failed: The service failed to respond to this request          
      Possible cause: Syntax Error!

The SCSS files come from a third party theme and they use Compass, I have included the compass files in my project. I also have node and node-sass installed on the machine. Any thoughts?

like image 208
Obi Avatar asked Dec 20 '14 15:12

Obi


1 Answers

Got same error and found solution. Web Essentials uses node.exe to build SCSS, but this service is crashed when tried to compile some partial SCSS with unresolved dependencies. After that Visual Studio logs 'Something went wrong reaching' messages on each build, to fix this error just kill all 'node.exe' processes and build main SCSS file again.

like image 123
Артем Кустиков Avatar answered Oct 14 '22 17:10

Артем Кустиков