即使遇到建议的更改,我也遇到了一些无法解决的错误,以下是终端中显示的内容。
[Browsersync] Serving files from: ./build
Error: Invalid CSS after "// 3 - BASICS": expected selector or at-rule, was "@import '3-basi..."
on line 10 of /Users/gendyblackman/Sites/blackmanimages/Myfirstsite/source/scss/main.scss
Use --trace for backtrace.
[11:20:14] Plumber found unhandled error:
Error in plugin 'gulp-scss'
Message:
Compilation failed.: The command exited with code:65
Stack Trace:
undefined
[Browsersync] 1 file changed (jquery-3.3.1.min.js)
[Browsersync] Reloading Browsers...
[11:21:10] Starting 'scss'...
[11:21:10] Finished 'scss' after 2.57 ms
Error: Invalid CSS after "// 3 - BASICS": expected selector or at-rule, was "@import '3--bas..."
on line 10 of /Users/gendyblackman/Sites/blackmanimages/Myfirstsite/source/scss/main.scss
Use --trace for backtrace.
[11:21:13] Plumber found unhandled error:
Error in plugin 'gulp-scss'
Message:
Compilation failed.: The command exited with code:65
堆栈跟踪: 未定义
这是我的git仓库; https://github.com/biblackman/Myfirstsite