Closed coltoneshaw closed 10 months ago
I think it could be related to #1044
It is exactly that. It says " install prebuilt binary name=better-sqlite3 version=8.6.0 platform=darwin arch=x64 napi=" so you've downloaded the broken prebuild. You need to force the package to be compiled for Electron 26 as described in that issue.
@Prinzhorn - Awesome, thanks. I didn't think that meant it was the same issue since it always downloads a prebuilt binary. So, effectively everyone on electron v26 is most likely broken? I'll close this and test the other fix though, thank you!
So, effectively everyone on electron v26 is most likely broken?
It looks like it, yes
Electron: v26.1.0 Electron-builder: v24.6.4 Better-sqlite3: v8.6.0
When attempting to build via
electron-builder
I get the below error. If I adjust thenode-abi
version in therebuild
package from3.3.0
to3.47.0
it builds it without the failure but the app crashes on opening. I think it could be related to #1044Build build failure with OG
prebuild
depsThis fails to build, but the application opens just fine and nothing seems to be wrong.
Build success, failure to open