Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Incorrect bindings

Aperta
#73 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
backend, cloud

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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]

Lingua principale
TypeScript
Stelle
149
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di void-sdk/void

Tutte le issue di void-sdk/void

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.