sql-js / sql-js/sql.js

Error creating and opening a database

オープン
#586 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
13.7k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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)...

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, sqlite, wasm
領域
database, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。