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?
I used Electron
v25.6.0
and better-sqlite3v9.1.1
and everything was fine. But when I upgraded to Electronv26.6.2
and better-sqlite3v9.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 thenode_modules
folder andpackage-lock.json
and runnpm 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?