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

Aperta
#564 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, sqlite, wasm
Ambito
databases, web-dev

Direzione di ricerca

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.

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

Descrizione

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

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

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.

Altre issue di sql-js/sql.js

Tutte le issue di sql-js/sql.js

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.