作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我运行 ng build
时,我得到了,
❯ ng build
Building Angular Package
Configuration doesn't match the required schema.
Data path "/lib" must NOT have additional properties (umdModuleIds).
这个问题的根源是什么,我该如何解决
最佳答案
问题在于 version 13.0.0 of ng-packager
a BREAKING CHANGE was introduced
We no longer generate UMD bundles. The below options which were used for UMD bundle generation has also been removed;
umdModuleIds
amdId
umdId
According to the comments in this thread these options have not been in use since version 2. 但现在它们会产生错误。
关于angular - 配置与所需架构不匹配 : Data path "/lib" must NOT have additional properties (umdModuleIds),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70309982/
我是一名优秀的程序员,十分优秀!