-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
db.serialize() still crashing with Electron #1223
Comments
Does anyone have/know a fix for this? Since I've had this issue, I've been unable to develop my project further. |
There are at least two non-blocking alternatives to backing up SQLite, but I’d try https://github.com/WiseLibs/better-sqlite3/blob/master/docs/api.md#backupdestination-options---promise first. |
Thank you! I was asking more about the underlying issue itself, as there was some talk about a fix in #1036 shortly after I opened this, but nothing new was discussed since then. |
idk if this is related but db.serialize() doesn't work if your db is in WAL mode. |
@josephbinoy thanks for sharing that link, that was news to me! |
Closing: #1223 (comment) |
I've read #981, and sadly I come here to report that the issue is still not fixed.
Running the following code in Electron's main process:
(Either before or after the Electron boilerplate app initialisation steps)
Yields the following V8 error:
Software used:
This is a blocker issue for me, as I have no alternative. There is nothing else in the project yet, as setting up the database is the core of what I'm trying to build. I need to get this fixed one way or another.
The text was updated successfully, but these errors were encountered: