Skip to content

After upgrade to v37, node-gyp problem /LTCG:INCREMENTAL: no such file or directory appears #47613

@crystalfp

Description

@crystalfp

Preflight Checklist

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

Metadata

Metadata

Type

Projects

Status

👍 Does Not Block Stable

Status

Follow Up Before Stable

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy