HBuilderX运行uniapp 报错 SassError: Invalid CSS after "}": expected selector, was ","
HBuilderX编辑器更新到最新后sass报错了,切到上一个版本就没有报错了
报错信息:
Module build failed (from ./node_modules/sass-loader/dist/cjs.js): SassError: Invalid CSS after " }": expected selector, was ","
问题及解决方法:
css写的有问题,提示的位置和实际的位置可能有偏差
新版本HBuilderX编辑器校验更严格了,把对应位置的逗号去掉就可以了