TmTron
TmTron

Reputation: 19401

license-webpack-plugin error with nrwl/nx 8.8.0

after upgrading nrwl/nx to v 8.8.0 I get this error:

An unhandled exception occurred: license-webpack-plugin: 
Please specify a regular expression as the pattern property on the plugin options.

I don't use the license-webpack-plugin in my project (package.json), but in package-lock.json I can see that it is required by:

How can I deactivate this plugin or workaround the issue?

Upvotes: 3

Views: 590

Answers (2)

TmTron
TmTron

Reputation: 19401

This was a bug in 8.8.0 and is fixed in version 8.8.3

A temporary workaround: set all occurences of extractLicenses to false in angular.json the compilation works again.

Upvotes: 4

funkizer
funkizer

Reputation: 4897

Let's follow the Github issue at https://github.com/nrwl/nx/issues/2081

Upvotes: 3

Related Questions