-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Open
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
37.1.0
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 Pro 24H2
What arch are you using?
x64
Last Known Working Electron version
36.x
Expected Behavior
Have node-gyp latest version 11.2.0 that builds correctly my native module.
Actual Behavior
Seems upgrade forced node-gyp to version v10.2.0-electron.1
and this version fails to build native module with error /LTCG:INCREMENTAL: no such file or directory
.
Instead if I use globally installed node-gyp (version 11.2.0) the problem does not appear.
Also, if I uninstall and reinstall the local copy of node-gyp, the version does not change and the problem persists.
Testcase Gist URL
No response
Additional Information
To reproduce:
PS > npx node-gyp --version
v10.2.0-electron.1
PS > node-gyp --version
v11.2.0
PS > npm rm node-gyp
removed 30 packages, changed 1 package, and audited 1231 packages in 14s
found 0 vulnerabilities
PS > npm i -D node-gyp
added 30 packages, changed 2 packages, and audited 1261 packages in 7s
found 0 vulnerabilities
PS > npx node-gyp --version
v10.2.0-electron.1