Title: The upgrade guide does not cover `ng update` stopping on a Node.js version message · Issue #3786 · angular/angularfire · GitHub
Open Graph Title: The upgrade guide does not cover `ng update` stopping on a Node.js version message · Issue #3786 · angular/angularfire
X Title: The upgrade guide does not cover `ng update` stopping on a Node.js version message · Issue #3786 · angular/angularfire
Description: In an app that is already on Angular 21, ng update @angular/fire@next can stop before it updates anything: Installing a temporary Angular CLI versioned latest to perform the update. Node.js version v22.22.1 detected. The Angular CLI requ...
Open Graph Description: In an app that is already on Angular 21, ng update @angular/fire@next can stop before it updates anything: Installing a temporary Angular CLI versioned latest to perform the update. Node.js version...
X Description: In an app that is already on Angular 21, ng update @angular/fire@next can stop before it updates anything: Installing a temporary Angular CLI versioned latest to perform the update. Node.js version...
Opengraph URL: https://github.com/angular/angularfire/issues/3786
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The upgrade guide does not cover `ng update` stopping on a Node.js version message","articleBody":"In an app that is already on Angular 21, `ng update @angular/fire@next` can stop before it updates anything:\n\n```\nInstalling a temporary Angular CLI versioned latest to perform the update.\nNode.js version v22.22.1 detected.\nThe Angular CLI requires a minimum Node.js version of v22.22.3 or v24.15.0 or v26.0.0.\n```\n\nNode.js 22.22.1 is a version Angular 21 supports, so the message is confusing, and `docs/version-21-upgrade.md` does not mention it.\n\n### Why it happens\n\n- `ng update` chooses which Angular CLI runs the update from the first `@angular/` package in the command. If that package has no version number, it downloads `@angular/cli@latest`.\n- `@angular/cli@latest` is 22.2.1, which requires Node.js `^22.22.3 || ^24.15.0 || >=26.0.0`. Angular CLI 21 accepts `^20.19.0 || ^22.12.0 || >=24.0.0`.\n- On a Node.js version in between, the downloaded CLI refuses to start. This is Angular CLI behavior, and it happens before any AngularFire code runs.\n\n### What I ran\n\nOn Node.js 22.22.1, on 2026-10-02:\n\n- `ng update @angular/fire` and `ng update @angular/fire@next` in an Angular 21 app both stop with the message above.\n- `ng update @angular/fire@21.0.0-rc.1` in the same app does not.\n- The guide's own command, `ng update @angular/core@21 @angular/cli@21 @angular/fire@next`, is not affected. It ran with a temporary Angular CLI 21.2.24 and completed.\n\n### Proposed change\n\nA bullet under \"Other notes\" naming the message, the cause, and the two ways past it: update Node.js, or give the first `@angular/` package a version number.\n","author":{"url":"https://github.com/armando-navarro","@type":"Person","name":"armando-navarro"},"datePublished":"2026-10-02T18:53:09Z","url":"https://github.com/angular/angularfire/issues/3786"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:99ebe104-702d-9294-f3db-76048edb48aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E268:2BE4CA:240B453:2FAA54A:6B0369C0 |
| html-safe-nonce | c6ee6a112c651ad2441918a2bc72c9260722e851bb73a69746a95b071185763c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjY4OjJCRTRDQToyNDBCNDUzOjJGQUE1NEE6NkIwMzY5QzAiLCJ2aXNpdG9yX2lkIjoiNDUwNzk0NTIxNjk0NjQzMjQ0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 90a98992e966ff926bc342a0485273c311440d4cb4348049bcd85c57ce695ffb |
| hovercard-subject-tag | issue:5681925671 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angularfire/3786/issue_layout |
| twitter:image | https://opengraph.githubassets.com/29a64798efb12c47e39f87a523cd3ad24d157b992fd4a61dc36a25c070fd5847/angular/angularfire/issues/3786 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/29a64798efb12c47e39f87a523cd3ad24d157b992fd4a61dc36a25c070fd5847/angular/angularfire/issues/3786 |
| og:image:alt | In an app that is already on Angular 21, ng update @angular/fire@next can stop before it updates anything: Installing a temporary Angular CLI versioned latest to perform the update. Node.js version... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | armando-navarro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width