A
A
Anatoly Salamatin2016-02-25 00:33:10
Building projects
Anatoly Salamatin, 2016-02-25 00:33:10

Why does an error occur when compiling scss?

Hello. An error occurs when compiling scss to css. And it's not clear why. 3 times the file is compiled, and then it gives an error, even if no changes were made to the file, i.e. I just save the file over and over again.
take.ms/KpVX2
events.js:154 thrower
; // Unhandled 'error' event
^
Error: app\scss\styles.scss
Error: File to import not found or unreadable: common/header.scss
Parent style sheet: stdin
on line 2 of stdin
@ import 'common/header.scss ';
Here is the code of my gulpfile https://jsfiddle.net/4h9hcg3c/
And if required, the git repository https://github.com/FARCER/asalamatin. After cloning, to install the components, you need to run npm i and bower i

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Khristoev, 2016-02-25
@Haoss

I also had an error, the file was not found, I wrote "use strict" on top, the problems disappeared, xs, try it, it might help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question