The upgrade guide does not cover `ng update` stopping on a Node.js version message
メンテナーはふだん 3 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 92/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
docs/version-21-upgrade.md を開き、報告されている ng update コマンドと Node.js の出力を確認しながら、既存の「Other notes」セクションを読みます。紛らわしいメッセージ、その原因が一時的に最新の CLI を使用することにある理由、そこを切り抜けるための文書化された方法を簡潔な注記に追加します。Angular 21 のアップグレードガイドが AngularFire のコードを変更せずにこのシナリオを扱っていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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 requires a minimum Node.js version of v22.22.3 or v24.15.0 or v26.0.0.
Node.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.
Why it happens
ng updatechooses 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.@angular/cli@latestis 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.- 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.
What I ran
On Node.js 22.22.1, on 2026-10-02:
ng update @angular/fireandng update @angular/fire@nextin an Angular 21 app both stop with the message above.ng update @angular/[email protected]in the same app does not.- 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.
Proposed change
A 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.
- 主要言語
- TypeScript
- スター
- 7.8k
- フォーク
- 2.2k
- 平均マージ
- 2日 14時間
- マージ済み PR(30日)
- 19
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
angular/angularfire のほかの issue
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twice再び着手できるかも @armando-navarro が 41 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンcomp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachable再び着手できるかも @armando-navarro が 41 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンcomp: core type: feature
angular/angularfire#3755 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
angular/angularfire#3737 · コメント 2 件 · リアクション 24 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
angular/angularfire#3715 ·
メンテナーはふだん 3 日以内に返信
-
comp: build/pipeline type: RFC / discussion / question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
angular/angularfire#3699 · コメント 17 件 · リアクション 4 件 ·
メンテナーはふだん 3 日以内に返信
angular/angularfire の issue をすべて見る
似ている issue
-
area:deploy task
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wilanis/wilanis-js#1017 ·
メンテナーはふだん 1 日以内に返信
-
documentation v2
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
modelcontextprotocol/servers#5133 ·
メンテナーはふだん 1 日以内に返信
-
budget bug feature frontend good-issue medium needs-review OSCI'26 payments
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
SatyamPandey-07/WorkSphere#5990 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
lugassawan/swe-workbench#799 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
yukikotani231/sqlsift#326 ·
メンテナーはふだん 1 日以内に返信