The upgrade guide does not cover `ng update` stopping on a Node.js version message
Maintainer thường phản hồi trong vòng 3 ngày
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 92/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Mở docs/version-21-upgrade.md và đọc phần “Other notes” hiện có cùng với các lệnh ng update được báo cáo và đầu ra của Node.js. Thêm một ghi chú ngắn gọn nêu rõ thông báo gây khó hiểu, lý do CLI mới nhất được sử dụng tạm thời gây ra thông báo đó và các cách đã được tài liệu hóa để vượt qua; hoàn tất khi hướng dẫn nâng cấp Angular 21 đề cập đến kịch bản này mà không thay đổi mã AngularFire.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 7.8k
- Fork
- 2.2k
- Merge trung bình
- 2 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của angular/angularfire
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twiceCó thể làm lại được @armando-navarro đã nhận 42 ngày trước và không có pull request nào đang mở. Đang mởcomp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachableCó thể làm lại được @armando-navarro đã nhận 42 ngày trước và không có pull request nào đang mở. Đang mởcomp: core type: feature
angular/angularfire#3755 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Angular 22 release pleaseĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
angular/angularfire#3737 · 2 bình luận · 24 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
angular/angularfire#3715 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
comp: build/pipeline type: RFC / discussion / question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
angular/angularfire#3699 · 17 bình luận · 4 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của angular/angularfire
Issue tương tự
-
cleanName keeps a state code that's joined to the word before it (SavannahGa → "Savannah Ga")Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openwatersio/slackwater-database#281 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accepted bug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
pingdotgg/t3code#18690 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bayern feature:Application ready web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
digitalfabrik/entitlementcard#3176 ·
Maintainer thường phản hồi trong vòng 7 ngày
-
[BUG] 运行位置的分支列表不自动刷新,外部新建的分支看不到Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NanmiCoder/cc-haha#1533 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày