nrwl/nx 8.8.0 的 license-webpack-plugin 错误
license-webpack-plugin error with nrwl/nx 8.8.0
将 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.
我没有在我的项目 (package.json
) 中使用 license-webpack-plugin
,但在 package-lock.json
中我可以看到它需要:
@angular-devkit/build-angular
版本0.803.19
- 和
@nrwl/node
版本8.8.0
如何停用此插件或解决该问题?
这是 8.8.0
中的 bug,在 8.8.3
版本中已修复
临时解决方法:在 angular.json
中将所有出现的 extractLicenses
设置为 false
,编译再次运行。
关注 Github 问题
将 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.
我没有在我的项目 (package.json
) 中使用 license-webpack-plugin
,但在 package-lock.json
中我可以看到它需要:
@angular-devkit/build-angular
版本0.803.19
- 和
@nrwl/node
版本8.8.0
如何停用此插件或解决该问题?
这是 8.8.0
中的 bug,在 8.8.3
临时解决方法:在 angular.json
中将所有出现的 extractLicenses
设置为 false
,编译再次运行。