Skip to content

Commit 545a0f9

Browse files
docs: name both ng update forms in the Node.js version note
`ng update @angular/fire@21` matches nothing until 21.0.0 is published, so the note gave only the release-candidate form and would have needed an edit at the release. It now gives both.
1 parent e6be22b commit 545a0f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/version-21-upgrade.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +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`.
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 (`ng update @angular/fire@21.0.0-rc.1` for the release candidate, `ng update @angular/fire@21` once 21.0.0 is published).

0 commit comments

Comments
 (0)