failed to asynchronously prepare wasm: both async and sync fetching of the wasm failed

Offen
#564 0 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
javascript, sqlite, wasm
Bereich
databases, web-dev

Rechercherichtung

Start by reproducing the wasm import from sql.js/dist/sql-wasm-debug.js and inspect the failure reported at sql-wasm-debug.js:2091, comparing it with the working sql-asm-debug.js import. The issue does not provide browser, bundler, or deployment details, so a useful outcome first requires identifying the loading context and establishing a reproducible case.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I encountered the problem,and my version is 1.9.0

import initSqlJs from 'sql.js/dist/sql-asm-debug.js'; use this, works well
import initSqlJs from 'sql.js/dist/sql-wasm-debug.js'; use this will occur failed to asynchronously prepare wasm: both async and sync fetching of the wasm failed. sql-wasm-debug.js:2091 Aborted(both async and sync fetching of the wasm failed)
微信截图_20240101122135

Vorherrschende Sprache
JavaScript
Sterne
13.7k
Forks
1.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus sql-js/sql.js

Alle Issues in sql-js/sql.js

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.