sql-js / sql-js/sql.js

Error creating and opening a database

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

Nessuno ha ancora preso questa issue.

Lingua principale
JavaScript
Stelle
13.7k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm building a svelte 5 app, have installed sql.js and downloaded the sql-wasm.warm and worker.sql-wasm.js. Whenever I try and create or open a database I get an uncaught in promise error. I'm hoping to create a client side database that doesn't get wiped when the browsers data is wiped.
ChatGPT says it's possible, but I've not been able to get the code working at all in svelte (5 is still between by the way)...

Guida per i contributori

Apri la guida per i contributori

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.

Direzione di ricerca

Start with the Svelte 5 app's sql.js initialization and the downloaded sql-wasm.warm and worker.sql-wasm.js files; reproduce the uncaught promise error and inspect the browser console and loading behavior. Done means the app can create or open a database without the error, with the intended persistence behavior demonstrated or documented.

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

Valutazione

Stack tecnologico
javascript, sqlite, wasm
Ambito
database, frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.