3

将 nrwl/nx 升级到 v 8.8.0 后,我收到此错误:

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

我没有license-webpack-plugin在我的项目中使用(package.json),但package-lock.json我可以看到它是必需的:

  • @angular-devkit/build-angular版本0.803.19
  • @nrwl/node版本8.8.0

如何停用此插件或解决此问题?

4

2 回答 2

4

这是一个错误8.8.0已在版本中修复8.8.3

临时解决方法:再次将编译中的所有出现设置extractLicenses为。falseangular.json

于 2019-11-21T17:21:19.053 回答
3

让我们在https://github.com/nrwl/nx/issues/2081关注 Github 问题

于 2019-11-21T21:57:04.497 回答