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

Modifying the database causes electron application to crash #1118

Closed
Solitario119 opened this issue Dec 19, 2023 · 1 comment
Closed

Modifying the database causes electron application to crash #1118

Solitario119 opened this issue Dec 19, 2023 · 1 comment

Comments

@Solitario119
Copy link

I used Electron v25.6.0 and better-sqlite3 v9.1.1 and everything was fine. But when I upgraded to Electron v26.6.2 and better-sqlite3 v9.2.2, modification of the database in the main process caused the Electron application to crash.
Like this : [24052:1219/124218.753:ERROR:crashpad_client_win.cc(844)] not connected. And I tried to remove the node_modules folder and package-lock.json and run npm i but occured the same problem.

So I degraded Electron to v25.6.0 and it's OK now.
I am wondering what causes this problem and how to fix it? how can I use the new edition of Electron with better-sqlite3?

@Prinzhorn
Copy link
Contributor

Prinzhorn commented Dec 19, 2023

#1044 #1053

Electron 27 should work again

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

No branches or pull requests

3 participants