angular / angular/angularfire

Firebase errors on pull of collections and documents.

Đang mở
#3,688 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
7.8k
Fork
2.2k
Merge trung bình
22 giờ 28 phút
Pull request đã merge (30 ngày)
6

Mô tả

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"
},

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với dependency Firebase trong package.json và tái hiện các lỗi trong browser console khi lấy collections và documents. So sánh hành vi khi có và không có override firebase ^12.7.0 được báo cáo, sau đó xác minh rằng việc đọc collections và dữ liệu người dùng hoạt động mà không cần override và không có cả hai lỗi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, firebase, typescript
Lĩnh vực
database
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.