Skip to content

Commit e6be22b

Browse files
docs: cover ng update stopping on a Node.js version message
`ng update @angular/fire@next` can stop with "The Angular CLI requires a minimum Node.js version of ..." on a Node.js version that Angular 21 supports. `ng update` runs with the newest Angular CLI when the first @angular/ package in the command has no version number, and that CLI requires a newer Node.js than Angular 21 does. The example gives the full release-candidate version because `@angular/fire@21` matches nothing until 21.0.0 is published. Fixes #3786
1 parent 59d44e7 commit e6be22b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs/version-21-upgrade.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@ Two symbols were removed rather than renamed. The migration leaves their imports
8282

8383
- **Angular 21.2 is required.** AngularFire 21 peers `@angular/* ^21.2.0` and does not support Angular 22 (a future AngularFire 22 will).
8484
- The obsolete `@angular/platform-browser-dynamic` peer dependency was removed. No action is needed.
85+
- **`ng update` can stop with `The Angular CLI requires a minimum Node.js version of ...`.** This happens when the first `@angular/` package in the command has no version number: `ng update` then runs with the newest Angular CLI, which requires a newer Node.js than Angular 21 does. Either update Node.js, or give that package a version number, as the command above does and as in `ng update @angular/fire@21.0.0-rc.1`.

0 commit comments

Comments
 (0)