Skip to content

Cypress 15 beta build failure on Windows with VS2022 #32017

Closed
@MikeMcC399

Description

@MikeMcC399

Current behavior

Building Cypress 15.0.0 beta from source on Windows 11 with Visual Studio 2022 fails rebuilding dependency registry-js from dependency @cypress/[email protected].

(It also fails with Visual Studio 2019.)

Desired behavior

It should be possible to build Cypress 15.0.0 beta from source on Windows 11 with Visual Studio 2022 without error.

Cypress version .node-version Node.js BUILDING
14.15.0 20.18.1 Visual Studio >= 2019
15.0.0 22.15.1 Visual Studio >= 2022

Test code to reproduce

On Windows 11:

git clone --branch release/15.0.0 https://github.com/cypress-io
cd cypress-io
yarn

Cypress Version

15.0.0 beta 992f894

Node version

v22.15.1 according to https://github.com/cypress-io/cypress/blob/release/15.0.0/.node-version

Operating System

Windows 11, 24H2

Debug Logs

warning Error running install script for optional dependency: "C:\\Users\\mikem\\github\\cypress-io\\cypress\\node_modules\\@cypress\\get-windows-proxy\\node_modules\\registry-js: Command failed.
Exit code: 1
Command: prebuild-install || node-gyp rebuild
Arguments:
Directory: C:\\Users\\mikem\\github\\cypress-io\\cypress\\node_modules\\@cypress\\get-windows-proxy\\node_modules\\registry-js
Output:
prebuild-install WARN install No prebuilt binaries found (target=22.15.1 runtime=node arch=x64 libc= platform=win32)

See also pipeline https://app.circleci.com/pipelines/github/cypress-io/cypress/72113/workflows/5cfbd530-041e-4fe7-bc2e-fada7e0e7748/jobs/2974389

"reinstall dependencies to work around cache issue (Windows only)"

Image

Other

  • Microsoft Visual Studio Community 2022 (64-bit) Version 17.14.8
  • Python 3.13.5

Relates also to

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