Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update to sql.js 1.13.0 #631

Open
p4wn-dev opened this issue Mar 21, 2025 · 3 comments
Open

feat: update to sql.js 1.13.0 #631

p4wn-dev opened this issue Mar 21, 2025 · 3 comments

Comments

@p4wn-dev
Copy link

Updating sql.js to 1.13.0 causes errors like "LinkError: WebAssembly.instantiate(): Import sql-js/sql.js#34 "a" "I": function import requires a callable"

Either jeep-sqlite is causing it or the sqlite package itself. Would be great to upgrade the version since sql.js 1.13.0 has many improvements.

@mahnuh
Copy link

mahnuh commented Mar 25, 2025

Not sure if this is the issue as jeep-sqlite installs sql.js 1.13.0 as dependency (^1.11.0).

@GM-mmilideo
Copy link

GM-mmilideo commented Mar 25, 2025

Not sure if this is the issue as jeep-sqlite installs sql.js 1.13.0 as dependency (^1.11.0).

I think it has something to do with how jeep-sqlite is loading the .wasm file. If you look at this issue in sql.js, incompatability between software and .wasm can cause the "I": function import requires a callable" issue.

@robkorv
Copy link
Contributor

robkorv commented Mar 27, 2025

For me the error went away to lock sql.js to version 1.12.0 in my dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants