angular / angular/angularfire

Firebase errors on pull of collections and documents.

未關閉
#3,688 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
7.8k
分支
2.2k
平均合併
22 小時 28 分鐘
30 天內合併 PR
6

描述

Get these errors in the browser console.

"Error getting document at path ******: FirebaseError: Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore"

and

"Error fetching user data: FirebaseError: Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore"

Had to override firebase with this in the package.json to get it to pull documents from firebase db.

"overrides": {
"firebase": "^12.7.0"
},

貢獻指南

開啟貢獻指南

研究方向

從 package.json 中的 Firebase 相依套件開始,在擷取 collections 和 documents 時重現瀏覽器主控台錯誤。比較有無所回報的 firebase ^12.7.0 override 時的行為,然後確認在沒有 override 且沒有任一錯誤的情況下,collection 和使用者資料的讀取能正常運作。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, firebase, typescript
領域
database
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
需要釐清
新手友好度
35/100

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

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