5

When I run ng build I get,

❯ ng build
Building Angular Package
Configuration doesn't match the required schema.
Data path "/lib" must NOT have additional properties (umdModuleIds).

What is the source of this problem and how can I resolve it

Evan Carroll
  • 78,363
  • 46
  • 261
  • 468

1 Answers1

2

The problem as is that in 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. but now they generate an error.

Evan Carroll
  • 78,363
  • 46
  • 261
  • 468