Firebase errors on pull of collections and documents.
未关闭
- 主要语言
- 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