Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Incorrect bindings

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
backend, cloud

Research direction

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.

Written by the indexing model from the issue text.

Description

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]

Dominant language
TypeScript
Stars
149
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from void-sdk/void

All issues in void-sdk/void

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.