微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

将@coreui/coreui-pro 更新到 3.4.2 版本后出错

如何解决将@coreui/coreui-pro 更新到 3.4.2 版本后出错

我已将 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 举报,一经查实,本站将立刻删除。