Skip to content

Build fails on Visual Studio 2026 #1224

@bravopdv

Description

@bravopdv
  • Build fails with Error: Could not find any Visual Studio installation to use

  • Visual Studio Community 2026 with c++ desktop development is installed

  • The reason it fails:
    On /node_modules/@electron/rebuild/node_modules/node-gyp/lib/find-visualstudio.js

async findVisualStudio2019OrNewerFromSpecifiedLocation () {
  return this.findVSFromSpecifiedLocation([2019, 2022])
  // Should be: [2019, 2022, 2026]
}
  • It's already fixed on node-gyp v12.1.0, but the current version on package.json is v11.2.0

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