Describe the Bug
After updating Angular to version 20 following the NX Automate Updating Dependencies Guide starting an web application with nx serve doesn't work anymore:
Error: The current version of "@angular/build" supports Angular versions ^19.0.0 || ^19.2.0-next.0,
but detected Angular version 20.0.7 instead.
Minimal Reproduction
- Create a Angular Project
- Upgrade Angular to version 20 using NX Automate Updating Dependencies Guide
- run angular project using
nx serve
Expected Behavior
@angular-builders/custom-webpack supports Angular version 20.
Screenshots
Environment
Libs
- @angular/core version: 20.07
- @angular-devkit/build-angular version: 20.0.6
- @angular-builders/custom-webpack version: 19.0.1
- @nx/angular version: 21.2.3
For Tooling issues:
- Node version: 22.11.0
- yarn version: 1.22.22
- Platform: Mac
Others:
- IDE: IntelliJ IDEA 2025.1.3 (Ultimate Edition)
Additional Context
npx nx migrate latest upgrades @angular-builders/custom-webpack to version 19.0.1 which does not support Angular version 20. There is a newer version of @angular-builders/custom-webpack (version 20.0.0) available. However, manually upgrading to this version leads to even more complex errors:
NX Directory import 'node_modules/@angular-builders/custom-webpack/dist/dev-server' is not supported resolving
ES modules imported from node_modules/nx/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js
I'm happy to answer any upcoming questions. Cheers.
Describe the Bug
After updating Angular to version 20 following the NX Automate Updating Dependencies Guide starting an web application with
nx servedoesn't work anymore:Minimal Reproduction
nx serveExpected Behavior
@angular-builders/custom-webpack supports Angular version 20.
Screenshots
Environment
Additional Context
npx nx migrate latestupgrades @angular-builders/custom-webpack to version 19.0.1 which does not support Angular version 20. There is a newer version of @angular-builders/custom-webpack (version 20.0.0) available. However, manually upgrading to this version leads to even more complex errors:I'm happy to answer any upcoming questions. Cheers.