angular / angular/angularfire

Firebug

Đang mở
#3,115 1 bình luận 0 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ả

"firebase": "^8.2.2",

On save image in storage:
My code:

```
import { AngularFireStorage } from '@angular/fire/storage';
constructor(
private fireStorage: AngularFireStorage
) { }

saveIMG(img: File, imgPath: string) {
return this.fireStorage.ref(imgPath)
.put(img);
}
```

Error:

**FirebaseError: Firebase Storage: An unknown error occurred, please check the error payload for server response. (storage/unknown)**

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

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

Hướng nghiên cứu

Start by reproducing the upload through AngularFireStorage.ref(imgPath).put(img) with firebase ^8.2.2, using the File and path shown in the report. Inspect the Firebase Storage server response and error payload to determine whether the failure is in AngularFireStorage or Firebase Storage; done means the cause is identified and the upload has a verified resolution or a clearer actionable error.

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

Đánh giá

Công nghệ
firebase, typescript
Lĩnh vực
cloud
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/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.