T
T
Turtle_Onni2015-07-15 13:13:33
Sass
Turtle_Onni, 2015-07-15 13:13:33

Sass. How to catch syntax. mistake?

Hello!
I 'm using bootstrap.scss
Everything worked fine until I opened one of the _buttons.scss files. In it, all variables are highlighted with errors.
And the main file in which bootstrap is imported is no longer collected.
Writes:

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

but before he was going to do the same? Writes a syntax error. How to catch her? I tried to replace the files from the bootstrap off site - it did not help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Turtle_Onni, 2015-07-15
@Turtle_Onni

There were no errors in the code. The problem was solved by restarting Visual Studio.

M
MhMadHamster, 2015-07-15
@MhMadHamster

for gulp-sass .pipe(sass().on('error', sass.logError))
or you can use other error handling packages like gulp-plumber

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question