Skip to content

Conversation

@Rosga
Copy link
Contributor

@Rosga Rosga commented Mar 15, 2019

Electron 5 is still in beta and will be shipped with Node 12. There are some breaking changes to native modules: https://electronjs.org/blog/nodejs-native-addons-and-electron-5

With latest version the command node-gyp rebuild --target=5.0.0-beta.5 --runtime=electron fails. This PR fixes build, and it works fine with my Electron application.

Unfortunately, some new deprecated warnings have appeared. I'm not so experienced in writing native addons and I'd appreciate help with that. Or, if it is necessary, I could give it a try, but need more time with that.

  • Have you updated CHANGELOG.md?

@LinusU
Copy link
Collaborator

LinusU commented Mar 15, 2019

Thanks!

@LinusU LinusU merged commit 3d81e0a into Automattic:master Mar 15, 2019
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