Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Incorrect bindings

Đang mở
#73 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Lĩnh vực
backend, cloud

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") into dist/ssr/wrangler.json, so wrangler deploy fails with binding 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của void-sdk/void

Tất cả issue của void-sdk/void

Issue tương tự

Thêm issue về TypeScript

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.