Skip to content

Conversation

thesan
Copy link

@thesan thesan commented Jan 16, 2025

Hello,

I have a niche case of the build failing on Windows due to the WinDef.h macro. It happens with the following configuration:

  • node: both 20 and 22
  • electron: 32 (it works with 31)
  • electron-builder: 25 (it works with 24)
  • node-gyp: both the 9.4.1 and also the patched @electron/node-gyp@10.2.0-electron.1

Again this is niche but others seem to have experienced similar issues with different configurations (e.g serialport/node-serialport#2957). As a result I am submitting this patch.

FYI here is the PR where I experienced the issue: LedgerHQ/ledger-live#8748

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.

1 participant