Git Product home page Git Product logo

Comments (8)

folsze avatar folsze commented on June 12, 2024 1

I was missing this step! Thanks a lot, especially for mentioning this again, that I have to copy the sql-wasm.wasm file.

Here is how to find the wasm file, if anyone forgot too:
https://github.com/sql-js/sql.js/blob/master/README.md#usage

from sqlite.

jepiqueau avatar jepiqueau commented on June 12, 2024 1

@folsze you always have to copy the wasm file especially when the version of sql.js change that why it is better to have it in your scripts the build script should be amended to make the copy prior to build see example on my tutorial site

from sqlite.

jepiqueau avatar jepiqueau commented on June 12, 2024

@JuanLongines you said they fix the issue but you continue to have the issue so for the time being i stick to the 1.8.0 release. If you can share on github your app where you have still the issue using 1.9.0 i may have a look

from sqlite.

k4ploc avatar k4ploc commented on June 12, 2024

@JuanLongines you said they fix the issue but you continue to have the issue so for the time being i stick to the 1.8.0 release. If you can share on github your app where you have still the issue using 1.9.0 i may have a look

I'm using the repository example, no additional code just updating sql.js version 1.10.2
https://github.com/jepiqueau/blog-tutorials-apps/tree/main/SQLite/Part-1/ionic7-angular-sqlite-app

from sqlite.

jepiqueau avatar jepiqueau commented on June 12, 2024

@JuanLongines Did it works with sql.js version 1.10.2

from sqlite.

jepiqueau avatar jepiqueau commented on June 12, 2024

@JuanLongines Fixed in release 5.5.2

from sqlite.

folsze avatar folsze commented on June 12, 2024

Is it possible that this did not fix it?

I am still experiencing this error, even after updating to 5.5.2

I will update here if I was wrong, but if this happens to you too then maybe like this message.

from sqlite.

k4ploc avatar k4ploc commented on June 12, 2024

@jepiqueau thank you !!, I have updated to the latest versions and its working now.
@folsze did you copy the wasm file to the assets folder?

image

And no errors:

image

from sqlite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.