better-sqlite3 icon indicating copy to clipboard operation
better-sqlite3 copied to clipboard

Modifying the database causes electron application to crash

Open Solitario119 opened this issue 1 year ago • 1 comments

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?

Solitario119 avatar Dec 19 '23 04:12 Solitario119

https://github.com/WiseLibs/better-sqlite3/issues/1044 https://github.com/WiseLibs/better-sqlite3/issues/1053

Electron 27 should work again

Prinzhorn avatar Dec 19 '23 07:12 Prinzhorn