Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migration of new workspace to 20.3.3 breaks build #29754

Open
1 of 4 tasks
nhhockeyplayer opened this issue Jan 26, 2025 · 0 comments
Open
1 of 4 tasks

migration of new workspace to 20.3.3 breaks build #29754

nhhockeyplayer opened this issue Jan 26, 2025 · 0 comments
Assignees
Labels
scope: angular Issues related to Angular support in Nx type: bug

Comments

@nhhockeyplayer
Copy link

nhhockeyplayer commented Jan 26, 2025

Current Behavior

workspace that built fine after workspace generation no longer builds after migration to 20.3.3

Expected Behavior

workspace should build after migration

GitHub Repo

none needed

Steps to Reproduce

npx create-nx-workspace

generate angular integrated multi project apps/api's workspace

choose webpack instead of esbuild

nx run-many --all --target=build

builds fine

nx migrate latest

migrates to 20.3.3

nx run-many --all --target=build | tee build.log

stack trace results as follows (see attached build.log)

Nx Report

nx report

 NX   Report complete - copy this into the issue template

Node           : 22.9.0
OS             : darwin-x64
Native Target  : x86_64-macos
yarn           : 1.22.22

nx (global)            : 20.3.3
nx                     : 20.3.3
@nx/js                 : 20.3.3
@nx/jest               : 20.3.3
@nx/eslint             : 20.3.3
@nx/workspace          : 20.3.3
@nx/angular            : 20.3.3
@nx/cypress            : 20.3.3
@nx/devkit             : 20.3.3
@nx/eslint-plugin      : 20.3.3
@nx/module-federation  : 20.3.3
@nx/web                : 20.3.3
@nx/webpack            : 20.3.3
typescript             : 5.6.3
---------------------------------------
Registered Plugins:
@nx/cypress/plugin
@nx/eslint/plugin
---------------------------------------
Community plugins:
angular-eslint : 19.0.2

Failure Logs

./node_modules/@angular/common/fesm2022/common.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js):
Error: [BABEL] /Users/meanstack02/new/2025/february/node_modules/@angular/common/fesm2022/common.mjs: Cannot find module '@babel/plugin-syntax-async-generators'
Require stack:
- /Users/meanstack02/new/2025/february/node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-async-generator-functions/lib/index.js
- /Users/meanstack02/new/2025/february/node_modules/@angular-devkit/build-angular/src/tools/babel/presets/application.js
- /Users/meanstack02/new/2025/february/node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js
- /Users/meanstack02/new/2025/february/node_modules/webpack/lib/ProgressPlugin.js
- /Users/meanstack02/new/2025/february/node_modules/webpack/lib/index.js
- /Users/meanstack02/new/2025/february/node_modules/@angular-devkit/build-webpack/src/builders/webpack/index.js
- /Users/meanstack02/new/2025/february/node_modules/@angular-devkit/build-webpack/src/index.js
- /Users/meanstack02/new/2025/february/node_modules/@angular-devkit/build-angular/src/builders/browser/index.js
- /Users/meanstack02/new/2025/february/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js (While processing: "base$0$2")

Package Manager Version

npm --version 10.9.0 yarn --version 1.22.22

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

build.log

@nhhockeyplayer nhhockeyplayer changed the title migration off new workspace to 20.3.3 breaks build migration of new workspace to 20.3.3 breaks build Jan 26, 2025
@FrozenPandaz FrozenPandaz added the scope: angular Issues related to Angular support in Nx label Jan 28, 2025
@FrozenPandaz FrozenPandaz assigned AgentEnder and Coly010 and unassigned AgentEnder Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: angular Issues related to Angular support in Nx type: bug
Projects
None yet
Development

No branches or pull requests

4 participants