Skip to content

Building on Windows "Failed to find a suitable Visual Studio installation" #38531

Closed
@aaroncool9

Description

@aaroncool9

VS 2019 was already installed with Boxstarter, as described in BUILDING.md#windows
I used the Developer Command Prompt for VS2019 on Windows Server 2019.
It says Failed to find suitable Visual Studio installation while I tried building for the first time.

C:\nodejs\build15\node>vcbuild.bat
Looking for Python
Python found in C:\Python310\\python.exe
Looking for NASM
Looking for Visual Studio 2019
Failed to find a suitable Visual Studio installation.
Try to run in a "Developer Command Prompt" or consult
https://github.com/nodejs/node/blob/master/BUILDING.md#windows

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions