问题描述
我已将 core/coreui-pro 库从 2.1.16 更新到 3.4.2。
编译时出现以下错误
Error: C:/Users/GRajpurohit/Desktop/workspace/vp-angular-update/technicalportal/src/scss/vendors/toastr/toastr.scss
C:/Users/GRajpurohit/Desktop/workspace/vp-angular-update/technicalportal/src/scss/vendors/toastr/toastr.scss:1:1: UnkNown word
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser
Error: ./src/scss/style.scss Module build Failed (from ./node_modules/mini-css-extract-
plugin/dist/loader.js):
ModuleBuildError: Module build Failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Undefined mixin.
╷
19 │ @include _assert-ascending($grid-breakpoints,"$grid-breakpoints");
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules\@coreui\coreui-pro\scss\variables\_grid.scss 19:1 @import
node_modules\@coreui\coreui-pro\scss\_variables.scss 19:9 @import
src\scss\_variables.scss 2:9 @import
src\scss\style.scss 2:9 root stylesheet
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)