小编Edd*_*hen的帖子

升级到 Webpack 5.79.0 后 NX Angular 项目构建失败

我的 nx monorepo Angular 项目使用版本 5.78.0 正确构建,但升级到 5.79.0 后出现以下错误

NX:15.9.2 角度:15.2.6

 Error: Module parse failed: parser.destructuringAssignmentPropertiesFor is not a function
File was processed with these loaders:
 * ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js
You may need an additional loader to handle the result of these loaders.
TypeError: parser.destructuringAssignmentPropertiesFor is not a function
Run Code Online (Sandbox Code Playgroud)

期望项目能够正确构建

webpack angular nrwl-nx

7
推荐指数
1
解决办法
3614
查看次数

标签 统计

angular ×1

nrwl-nx ×1

webpack ×1