-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
support native modules in new electron version v15 #6352
Comments
That's bizarre, it's worked historically for many different versions of electron for me. |
@mmaietta It's the node abi version problem I think , below is the error info, I tried manually install the node-abi, problem persists
|
Works for me with @electron v15 for 5 native modules. So it's apparently the issue of the |
@vladimiry yeah, better-sqlite3 needs update, but this raise another question, can we jump the native module check for some modules? actually I can manually rebuild better-sqlite3 with node-gyp or use |
@vladimiry could you share which modules you've tested this with? I'm curious how their prebuild setup and install scripts look compared to better-sqlite3. |
Used in https://github.com/vladimiry/ElectronMail (I don't use prebuilds here but drop them and also drop
|
Gotcha, thanks! The problem with better-sqlite3 is precisely that wrong prebuilds are generated, probably because |
@vladimiry There's no issue with the prebuilds. Deps used in my test case:
In my test, Possible cause:If you look at I'm baffled by why that is because I usually see @codebytere snatching these ABI versions up during nightly releases but in the end this seem to have messed up a lot of native dependency related tools. We just need an update for |
I didn't say that there is an issue with prebuilds, it's your words, but that I don't use prebuilds at all. So I'm more interested in the native modules to be compilable at my side than being served with correct prebuilds. |
Ok scratch my previous rant. I just realized while looking through the source of
What I tried to respond to was you saying it's something wrong with
Prebuilt assets makes large workflows run faster and makes the process of trying it out much easier for fairly new users. Otherwise the issue tracker gets polluted by users asking "How to compile?". Just my opinion. For the moment, even installing the latest version of |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
electron-builder command install-app-deps only works with electron version ^13 when building native modules, can anyone kindly explain what is the situation now ?
The text was updated successfully, but these errors were encountered: