failed to asynchronously prepare wasm: both async and sync fetching of the wasm failed
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, sqlite, wasm
Research direction
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.
Written by the indexing model from the issue text.
Description
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)
- Dominant language
- JavaScript
- Stars
- 13.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sql-js/sql.js
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Add: BuyPass TV Openchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·