SqliteError: database disk image is malformed

Hello, somehow i got this error:
Uncaught Promise Rejection SqliteError: database disk image is malformed
and i dont know how to fix that, someone know how? Thanks (rewind doesnt works)

what library/package are you using? just straight sqlite? quick.db?

i made package from “better-sqlite3”,
so i use this package

when this happened to me, i used this article to help fix it. maybe give it a look?

1 Like

same error in quick.db, need help

i use the same thing for my quick.db databases. you have better-sqlite installed if you use quick.db