gpt4 book ai didi

angular - 配置与所需架构不匹配 : Data path "/lib" must NOT have additional properties (umdModuleIds)

转载 作者:行者123 更新时间:2023-12-05 05:51:50 24 4
gpt4 key购买 nike

当我运行 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com