Answer the question
In order to leave comments, you need to log in
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!
Answer the question
In order to leave comments, you need to log in
There were no errors in the code. The problem was solved by restarting Visual Studio.
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 questionAsk a Question
731 491 924 answers to any question