Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

docs: the documented install and upgrade commands do not work with 21.0.0-rc.1

未關閉
#3,764 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
58/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
angular, typescript
領域
documentation

研究方向

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 內容生成。

描述

comp: docs type: chore version: current (v17+)

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/cli targets 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/fire reports "Package '@angular/fire' is already up to date", because latest is 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/fire nor @angular/fire@next resolves against Angular 22.
  • Setup stops on firebase-tools 15:
    • After the features question, ng add fails with Cannot read properties of undefined (reading 'email').
    • firebaseTools.login() returns an object with email in firebase-tools 14 and returns undefined in 15.
    • The peer range accepts 15 (#3701), and npm installs 15 by default.
  • 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.
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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

angular/angularfire 的其他 Issue

查看 angular/angularfire 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。