Support Electron 32

Open
#60 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, electron, node.js

Research direction

Start by reproducing the C++20 error while building node-native-keymap against Electron 32, then compare the better-sqlite3 pull request and electron/rebuild issue linked in the report. Review this repository's native build configuration and determine the changes required for a successful Electron 32 build; done means the module builds without the reported v8config.h error.

Written by the indexing model from the issue text.

Description

I'm getting the same error for node-native-keymap as the sqlite package was getting when attempting upgrade to Electron 32:

/Users/johnlindquist/.electron-gyp/32.0.1/include/node/v8config.h:13:2: error: "C++20 or later required."

https://github.com/WiseLibs/better-sqlite3/pull/1226

I tried forking and solving it myself, but it's just too far out of my wheelhouse to fully understand the problem. Please help :)

Maybe it's related to this?

https://github.com/electron/rebuild/issues/1044

Dominant language
C++
Stars
152
Forks
43
Avg merge
19h 38m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/node-native-keymap

All issues in microsoft/node-native-keymap

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.