Skip to content
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

add workaround to block preinstall for known issue with Electron 4.0.x #95

Merged
merged 1 commit into from
Feb 6, 2019
Merged

add workaround to block preinstall for known issue with Electron 4.0.x #95

merged 1 commit into from
Feb 6, 2019

Conversation

shiftkey
Copy link
Contributor

@shiftkey shiftkey commented Feb 6, 2019

I'm a maintainer on keytar and had to deal with the Electron 3/4 transition which had a known ABI issue that impacted native modules, discussed here electron/node-abi#54. We were able to workaround it by blocking clients from trying to download these packages, and I thought I'd upstream this fix to see if you were interested in making this available more broadly for anyone else who happens to stumble into it.

In a nutshell, this setup of prebuild packages should not be used if they were created:

  • electron runtime
  • a target between 4.0.0 and 4.0.3 (inclusive)
  • ABI 64 (Electron 4 now uses 69 for it's ABI)

The patch to node-abi to support this new ABI is now available, so that future prebuild installs will avoid all this drama: electron/node-abi@9e4c1a6

@ralphtheninja ralphtheninja merged commit 37bd2b1 into prebuild:master Feb 6, 2019
@shiftkey shiftkey deleted the catch-electron-problem branch February 6, 2019 14:09
@ralphtheninja
Copy link
Member

Released in 5.2.4.

@shiftkey Thanks! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants