angular / angular/angularfire

Firebase API called outside injection context when i upgrade angular version 18 to 19

オープン
#3,647 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
22時間 28分
マージ済み PR(30日)
6

説明

I install Angular 19 and i show me this warnking **Firebase API called outside injection context:**

![Image](https://github.com/user-attachments/assets/d84567de-1ea0-4f60-b016-8f1714bdb6ad)

When happened this:
I upgrade of Angular 18 a Angular 19 and when i change of version.

**Version:**
Angular CLI: 19.2.8
Node: 22.14.0
Package Manager: npm 11.3.0
OS: win32 x64

Angular: 19.2.7
... common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router

Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1902.8
@angular-devkit/build-angular 19.2.8
@angular-devkit/core 19.2.8
@angular-devkit/schematics 19.2.8
@angular/cli 19.2.8
@angular/ssr 19.2.8
@schematics/angular 19.2.8
rxjs 7.8.2
typescript 5.7.3
zone.js 0.15.0

![Image](https://github.com/user-attachments/assets/d538f014-38d2-48ff-b912-c3323f9763ac)

C:\pr360-portal-v1\pr360>ng update
Using package manager: npm
Collecting installed dependencies...
Found 31 dependencies.
We analyzed your package.json and everything seems to be in order. Good work!

NOTE:
I don't snow how fix this thouble. In the documentation not is clear https://github.com/angular/angularfire/blob/main/docs/zones.md

![Image](https://github.com/user-attachments/assets/7605fe84-e4a7-454d-bed1-2bda67a6f859)

I don't see which is the impact of no fix this warn. but if is very noisy.

Someone people suggestion add a code. but is very repetitive and not is the solution finish.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

リンクされている docs/zones.md と Angular 18-to-19 upgrade の出力から始め、報告されている Angular 19.2.7 と Angular CLI 19.2.8 のバージョンを使用します。警告を再現し、それを引き起こしている Firebase 呼び出しを特定します。done には、確認済みの影響と、文書化された重複のない解決策、または maintainer 向けの明確な再現手順を含める必要があります。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。