From e6be22b620446053ef2c8ae8b60293a177381dd8 Mon Sep 17 00:00:00 2001 From: Armando Navarro Date: Fri, 2 Oct 2026 11:53:55 -0700 Subject: [PATCH] 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 --- docs/version-21-upgrade.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/version-21-upgrade.md b/docs/version-21-upgrade.md index 1f3cbbe09..4a16b5a7f 100644 --- a/docs/version-21-upgrade.md +++ b/docs/version-21-upgrade.md @@ -82,3 +82,4 @@ Two symbols were removed rather than renamed. The migration leaves their imports - **Angular 21.2 is required.** AngularFire 21 peers `@angular/* ^21.2.0` and does not support Angular 22 (a future AngularFire 22 will). - The obsolete `@angular/platform-browser-dynamic` peer dependency was removed. No action is needed. +- **`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`.