Closed hbole closed 12 months ago
I am using better-sqlite3 v8.1.0
Before opening issues I recommend to always try with the latest version (v8.7.0
or v9.0.0
). This is true for any library or software ever.
I am using node version 16.17.1
Has reached EOL
Electron version 22.3.27
Has reached EOL
I tried with the latest version of better-sqlite3 v8.7.0 still facing the same issue @Prinzhorn
As there are prebuilt binaries of better-sqlite3 v8.7.0 for Node 16 (ABI version 93) and for Electron 22 (ABI version 110) available, this seems to be an issue related to your local setup if those are not properly resolved.
How does the install process / package.json of this app look like? Does the issue also occur using this minimal example (tested on Win 10 x64 with NodeJS 16.20.2):
{
"name": "sample",
"version": "1.0.0",
"scripts": {
"postinstall": "electron-builder install-app-deps"
},
"devDependencies": {
"electron": "22.3.27",
"electron-builder": "24.6.4"
},
"dependencies": {
"better-sqlite3": "8.7.0"
}
}
Sorry @Prinzhorn @neoxpert
It was due to wrong webpack configuration. It is working fine now. Closing this issue.
Just one request, the error messages can be more definitive.
I am using better-sqlite3 v8.1.0 with my electron application I am getting the following error while building the application
I am using node version 16.17.1 Electron version 22.3.27 Need help to resolve this