Closed VitorAndrey closed 4 months ago
This is not an error but a warning that no prebuild was found. You should still be able to compile locally.
@m4heshd any idea why there is no linux arm prebuild for v119? Looking at the assets https://github.com/WiseLibs/better-sqlite3/releases/tag/v9.4.0 I'm confused why for some versions they are missing? E.g. v115 and v120 have linux arm builds, but not v119
@Prinzhorn Thanks for helping! I'm sorry if this is trivial, but I've never done it before. I just need to download the corresponding package version for my architecture at https://github.com/WiseLibs/better-sqlite3/releases/tag/v9.4.0? After that, how do I compile locally?
@VitorAndrey this all happens automatically when prebuild fails, but you've seem to have that disabled
warn install prebuilt binaries enforced with --force
@m4heshd any idea why there is no Linux arm prebuild for v119?
Module version 119
is reserved by Electron (v28 to be specific). Unfortunately, we're not building for Electron on arm at the moment.
Now that arm is sort of becoming major on desktop, practically we should build for Electron on arm but the current method we're using to build for arm is notoriously slow. Qemu has a reputation for being just that. BS3's build workflow would take days to finish if we were to do that.
I recently added a feature to BS3 for building arm64
binaries natively on mac. As I mentioned in the PR note, there IS a possibility of building Linux arm builds on that very same runner. But still, I'm not exactly sure how armv7
builds would behave in that environment. Technically, should build fine with similar performance as arm64
builds. Can't be sure till we try though.
UPDATE: Unfortunately, this won't be a possibility in the near future since M1 lacks support for nested virtualization. Just learned this, not a mac user myself. So it's a no-go for Qemu and any sort of emulation on this runner.
@Prinzhorn, @m4heshd, thank you so much for your time and assistance. It turns out that using Electron Rebuild worked. I ran electron-rebuild -f -w better-sqlite3
, and it generated all the necessary components to make the library work in the Raspberry Pi 3 environment.
Hello! Thnx for your time in advance. I am trying to use better-sqlite3 in my electron aplication wich is supposed to run in raspberry pi 3 so arch amrv7l. I tested in windows at first and it worked perfectly, got this error while rebuilding for this new platform.
What I already tried: setting the LIZ_COMPAT=1 env variable as I found in old issues.