Skip to content

Problem from outdated node-gyp #9275

@crystalfp

Description

@crystalfp

Seems electron-builder, through @electron/rebuild installs node-gyp version v10.2.0-electron.1 and this version fails to build native node modules with error
/LTCG:INCREMENTAL: no such file or directory. See electron/electron#47613 for the complete problem. No problems with the globally installed latest version of node-gyp (11.4.2).

Seems the solution is to update the @electron/rebuild package from the current version 3.7.0 to 4.0.1. This package is a dependency of app-builder-lib used by electron-builder.

Could you update these dependencies so to update at the end the node-gyp package? Thanks!

electron-builder 26.0.12 on Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions