docs: the documented install and upgrade commands do not work with 21.0.0-rc.1
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 58/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- angular, typescript
研究方向
Locate the Quickstart, the v21 upgrade guide, and the twelve per-product pages that repeat the AngularFire install command. Compare their documented commands with the reported Angular 22, AngularFire 21.0.0-rc.1, and firebase-tools 15 behavior, keeping the firebase-tools crash out of scope. Done means the documentation gets users to a working app and the repeated version-sensitive instructions are consistent.
由索引模型根據 Issue 內容生成。
描述
With 21.0.0-rc.1 on npm next and Angular 22 on npm latest, the commands in the Quickstart and the v21 upgrade guide no longer get anyone to a working app.
What I found
- The upgrade guide's first command fails:
ng update @angular/core @angular/clitargets Angular 22, and the CLI refuses the two-major jump from Angular 20: "Updating multiple major versions of '@angular/core' at once is not supported."
- The upgrade guide's second command does nothing:
ng update @angular/firereports "Package '@angular/fire' is already up to date", becauselatestis still 20.1.0.
- The Quickstart cannot reach a working app at all:
- Step 1 creates a project on the newest Angular, which is 22, and step 2 then installs AngularFire from
latest. - Neither
@angular/firenor@angular/fire@nextresolves against Angular 22.
- Step 1 creates a project on the newest Angular, which is 22, and step 2 then installs AngularFire from
- Setup stops on firebase-tools 15:
- After the features question,
ng addfails withCannot read properties of undefined (reading 'email'). firebaseTools.login()returns an object withemailin firebase-tools 14 and returnsundefinedin 15.- The peer range accepts 15 (#3701), and npm installs 15 by default.
- After the features question,
- Thirteen pages repeat the same install command:
- The Quickstart and twelve per-product pages each carry their own
ng add @angular/fire, so every version change has to be made in thirteen places.
- The Quickstart and twelve per-product pages each carry their own
Scope
Documentation only. The firebase-tools 15 crash will go in its own issue/PR.
- 主要語言
- TypeScript
- 星號
- 7.8k
- 分支
- 2.2k
- 平均合併
- 3 天 6 小時
- 30 天內合併 PR
- 5
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
angular/angularfire 的其他 Issue
-
comp: build/pipeline type: bug version: current (v17+)
難度 2/5 1-3 小時 新手友好度 74/100
angular/angularfire#3766 ·
-
comp: schematics type: bug version: current (v17+)
難度 3/5 1-2 天 新手友好度 76/100
angular/angularfire#3768 ·
-
comp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 已指派 1 人 ·
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachable 未關閉comp: core type: feature
angular/angularfire#3755 · 已指派 1 人 ·
-
comp: auth comp: ssr comp: zones type: bug
難度 3/5 1-2 天 新手友好度 76/100
angular/angularfire#3748 ·
查看 angular/angularfire 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
bcgov/bc-wallet-mobile#4761 · 1 則留言 ·
-
external-issue to-triage
難度 2/5 1-3 小時 新手友好度 88/100
-
area-deployment area-integrations triage:bot-seen
難度 2/5 半天 新手友好度 86/100
-
難度 2/5 1-3 小時 新手友好度 82/100
-
refactor
難度 2/5 1-3 小時 新手友好度 84/100