-
Notifications
You must be signed in to change notification settings - Fork 194
Pre-build for electron is broken #380
Comments
|
this is normal log message |
Weird, it shouldn't be looking for prebuilds with "electron-vXX" in them, as you can see in https://github.com/atom/node-keytar/releases/tag/v7.7.0 |
Maybe because for |
But those aren't needed anymore thanks to the N-API 😅 |
As you see they are still needed. Or maybe I do something wrong? |
I'm not familiar enough with |
I'll investigate this moment |
Have you tried using |
Yep. There is no useful info |
I don't think this will make a difference, but in the projects where I use N-API (or more specifically keytar), we have prebuild-install v6.1.1, while you have v6.0.1. Maybe try bumping that dependency and see if it works? 🤞 Looking at the release notes I don't think it will, but who knows… 🤞 |
I have a latest version of electron-builder. I've installed |
This is a known issue with electron-builder, we also ran into it with sharp. The fix is for electron-builder to look for N-API prebuilds first. That PR has been merged and is currently pending release. There is a workaround that you can use for the time being, until a new version of |
I'm running into this issue as well. The workaround mentioned in electron-builder issue #5438 does not work either. Does anyone know any other workarounds? I'd really appreciate if someone could assist me with this. |
Versions 22.11.1 and higher of Please report back here if those versions work for you 👍🏼 |
Preparing for the postcss update. Note: - Keytar is intentionally pinned to 7.6.0 due to an electron-builder bug that makes 7.7.0 not work. atom/node-keytar#380 electron-userland/electron-builder#5438
@dennisameling Turns out nodejs was out of date on my machine and latest version of electron-builder was incompatible with it so it never got upgraded when I ran After upgrading nodejs and electron-builder it worked without any issues. Thanks again, |
Nice! I'm glad that works 😌 Thank you @dennisameling for your wisdom and @ashgrover for confirming! ❤️ I guess this can be closed now 😄 |
v7.6.0
has a pre-build version for electron, but after update tov7.7.0
electron-builder
shows me 404 errorThe text was updated successfully, but these errors were encountered: