angular - 如何使用 Angular 中的 Arch 向导消除构建错误?
问题描述
我正在使用angular-archwizard": ^5.0.0
. libray 在我的角度应用程序中。它工作正常。在进行构建时,它会显示错误。我的角度版本是8.2.4
DEPRECATION WARNING: As of Dart Sass 2.0.0, !global assignments won't be able to
declare new variables. Since this assignment is at the root of the stylesheet,
the !global flag is unnecessary and can safely be removed.
╷
44 │ $wz-param-indicator-state: null !global;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/angular-archwizard/variables.scss 44:1 @import
node_modules/angular-archwizard/archwizard.scss 1:9 @import
stdin 3:9 root stylesheet
DEPRECATION WARNING: As of Dart Sass 2.0.0, !global assignments won't be able to
declare new variables. Since this assignment is at the root of the stylesheet,
the !global flag is unnecessary and can safely be removed.
╷
47 │ $wz-param-indicator-color: null !global;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/angular-archwizard/variables.scss 47:1 @import
node_modules/angular-archwizard/archwizard.scss 1:9 @import
stdin 3:9 root stylesheet
Generating ES5 bundles for differential loading...
An unhandled exception occurred: [BABEL] /home/gitlab-runner/builds/gxJwAPyJ/0/bricx/bricx-web/dist/bricx/common-es2015.e490dce0636f4faf1660.js: Could not find plugin "proposal-numeric-separator". Ensure there is an entry in ./available-plugins.js for it. (While processing: "/home/gitlab-runner/builds/gxJwAPyJ/0/bricx/bricx-web/node_modules/@babel/preset-env/lib/index.js")
See "/tmp/ng-ge6GLz/angular-errors.log" for further details.
解决方案
推荐阅读
- postgresql - 如何存储带有小数字段的 Vapor Fluent 模型
- python - Python 的 sqlite3 库填满了 c:\ 驱动器的空闲空间
- javascript - 根据 PDF 中的字段值显示消息
- python - Python 列表理解 plt.imread 不起作用
- r - 使用 igraph 的网络错误消息 Rstudio
- amazon-web-services - Amazon Connect Makefile 帮助 - Makefile “*** 没有将目标设为‘全部’的规则。停止。”
- r - 根据 R 中数据值的等级或顺序对行进行汇总和分组
- python - how to calculate all possible combinations with the lowest diviation between the combinations
- python - Matplotlib:滑块轴外的鼠标继续改变绘图
- elasticsearch - 具有多个条件的 Elasticsearch OR 条件