Hello! I can not figure out why sass is not executed. I attach the screen of the command window and the task itself. enter image description here

var gulp = require('gulp'), sass = require('gulp-sass'); gulp.task('sass', function() { return gulp.src('app/sass/main.sass') .pipe(sass()) .pipe(gulp.dest('app/css')) }); 
  • Attach another main.sass please. - Vladimir Gamalyan
  • Based on the text of the error, you have empty curly brackets in body.sass after body {...}, which causes an error. - Vladimir Gamalyan
  • there is a very simple line body {background-color: # 4869D6;}. I understood what he meant by empty brackets, but I can't understand why he thinks so - Alla
  • one
    try the space after the background-color: - Vladimir Gamalyan
  • wow! Only? It worked! Thank you very much) I didn’t expect that it could have such a serious meaning - Alla

0