Содержание:
gulp-plumber выдает Error in plugin "gulp-sass"
Здравствуйте, Александр! Проблема в следующем. Настроила по вашему уроку сборку проекта с помощью gulp, целый день все отлично работало (огромное спасибо вам за уроки!!). Но в какой-то момент при запуске задачи css:build gulp-plumber начал выдавать ошибку в плагине gulp-sass, ссылаясь при этом на ошибки в исходных файлах бутстрапа, которые я, естественно, не правила:
Message: node_modules\bootstrap\scss\_tables.scss Error: Function theme-color-level finished without @return on line 101 of node_modules/bootstrap/scss/_tables.scss, in function `theme-color-level` from line 101 of node_modules/bootstrap/scss/_tables.scss from line 14 of assets/src/style/main.scss >> @include table-row-variant($color, theme-color-level($color, $table-bg-lev -------------------------------------^ Details: status: 1 file: C:/Obr/node_modules/bootstrap/scss/_tables.scss line: 101 column: 38 formatted: Error: Function theme-color-level finished without @return on line 101 of node_modules/bootstrap/scss/_tables.scss, in function `theme-color-level` from line 101 of node_modules/bootstrap/scss/_tables.scss from line 14 of assets/src/style/main.scss >> @include table-row-variant($color, theme-color-level($color, $table-bg-lev -------------------------------------^ messageFormatted: node_modules\bootstrap\scss\_tables.scss Error: Function theme-color-level finished without @return on line 101 of node_modules/bootstrap/scss/_tables.scss, in function `theme-color-level` from line 101 of node_modules/bootstrap/scss/_tables.scss from line 14 of assets/src/style/main.scss >> @include table-row-variant($color, theme-color-level($color, $table-bg-lev -------------------------------------^ messageOriginal: Function theme-color-level finished without @return relativePath: node_modules\bootstrap\scss\_tables.scssПодскажите, что могло произойти и как теперь восстановить статус-кво? Заранее приношу извинения за тупизм, я гуманитарий-самоучка, базовых знаний катастрофически не хватает(((
Попробуйте восстановить содержимое и порядок подключения файлов в «main.scss». Содержимое раздела файла, в котором вы подключаете свои SCSS файлы, попробуйте временно исключить.
После этого проверьте, решили ли эти действия вашу проблему.