Incorrect bindings
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
Hướng nghiên cứu
Start by reproducing the deployment and inspecting the generated dist/ssr/wrangler.json, especially the database binding and the void/ws Durable Object binding. Trace the build configuration that emits these entries and check how migration entries are generated. Done means a project configured with PostgreSQL no longer receives a D1 database_id, and the Durable Object binding has the required migration configuration so wrangler deploy succeeds.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I've encountered a few issues with bindings when deploying my Void project to Cloudflare:
-
Even with
"database": "pg"set, the build still emits a D1 DB binding (database_id: "local") intodist/ssr/wrangler.json, so wrangler deploy fails withbinding DB of type d1 must have a valid database_id [code: 10021]. -
My build emits DO bindings for the
void/ws, but never writes the migration entry at all, so wrangler deploy fails with:Cannot create binding for class 'WsProjectProjectIdWs' because it is not currently configured to implement Durable Objects [code: 10061]
- Ngôn ngữ chính
- TypeScript
- Star
- 149
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của void-sdk/void
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
Tất cả issue của void-sdk/void
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
TanStack/tanstack.com#1293 ·