-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
new version 7.4.4 can not work with electron-builder install-app-deps #713
Comments
This appears to be an upstream bug not related to better-sqlite3: |
@Prinzhorn I don't know the internals of electron-rebuild, but I spent some time reading the source code of electron-builder, especially the |
We arrived at that conclusion as well in #694 (comment)
What exactly needs to change in better-sqlite3? That's the question |
Confirmed as well: using a source dependency ala
results in local recompilation, which works (but is slow, of course!) When I upgraded to the new v7.4.4 release with electron 15.3.0 (and launching via an AppImage), I'm seeing:
|
node v16.13.0 I spent hours trying a lot of ways.
Now I have to use |
This has been working for me (all of these are done in package.json):
It needs to rebuild on every package addition, and I need to call "yarn" every time I update a package, but at least this way has been working for me. Cheers! |
Thanks @jsaraiva Building from source was the missing piece for me . I guess it's a temporary workaround until something changes in this package or upstream? |
@jsaraiva your solution works with v7.4.4. Thanks for sharing! |
The same issue freezes electron-builder with 7.5.0 electron-builder install-app-deps
• electron-builder version=22.14.5
• loaded configuration file=package.json ("build" field)
• rebuilding native dependencies dependencies=better-sqlite3@7.5.0 platform=linux arch=x64
• install prebuilt binary name=better-sqlite3 version=7.5.0 platform=linux arch=x64 napi= There is no issue with 7.4.4 |
Hi, I managed to use v7.5.0 with electron v17.0.0 (thanks to @jsaraiva !). But I had never used electron-builder before and the process was a bit tricky to me, so if it can help, here are the steps I followed:
|
My bad. After installing |
node version 16.12
electron version: 15.3
os: win 10
after install and execute
electron-builder install-app-deps
, abi version is 89 which should be 98The text was updated successfully, but these errors were encountered: