Skip to content

Cypress won't download during install #31354

Closed
@stepjanssen

Description

@stepjanssen

Current behavior

I'm trying to install cypress, but the download doesn't seem to start. I'm behind a proxy that requires a custom CA. Is there anything I can to to debug why it ends up hanging?

Debug logs

❯ DEBUG=cypress:cli* npx cypress install                                                                                                                          ─╯
  cypress:cli:cli cli starts with arguments ["/Users/[redacted]/.nvm/versions/node/v23.6.1/bin/node","/Users/[redacted]/node_modules/.bin/cypress","install"] +0ms
  cypress:cli NODE_OPTIONS is not set +0ms
  cypress:cli:cli program parsing arguments +2ms
  cypress:cli parsed cli options {} +2s
  cypress:cli installing with options {} +0ms
  cypress:cli detecting arch { osPlatform: 'darwin', osArch: 'arm64' } +1ms
  cypress:cli version in package.json is 13.17.0, version to install is 13.17.0 +2ms
  cypress:cli Reading binary package.json from: /Users/[redacted]/Library/Caches/Cypress/13.17.0/Cypress.app/Contents/Resources/app/package.json +0ms
  cypress:cli no binary installed under cli version +7ms
  cypress:cli checking local file /Users/[redacted]/13.17.0 cwd /Users/[redacted] +1ms
  cypress:cli preparing to download and unzip version  13.17.0 to path /Users/[redacted]/Library/Caches/Cypress/13.17.0 +1ms
Installing Cypress (version: 13.17.0)


  cypress:cli needed Cypress version: 13.17.0 +0ms
  cypress:cli source url https://download.cypress.io/desktop/13.17.0?platform=darwin&arch=arm64 +0ms
  cypress:cli downloading cypress.zip to "/var/folders/jh/mqcgcys125s6t0m80k10z90c0000gp/T/cypress-67428.zip" +0ms
  cypress:cli Downloading package {
  url: 'https://download.cypress.io/desktop/13.17.0?platform=darwin&arch=arm64',
  proxy: 'http://[redacted]:8080',
  downloadDestination: '/var/folders/jh/mqcgcys125s6t0m80k10z90c0000gp/T/cypress-67428.zip'
} +5ms
  cypress:cli using custom CA details from npm config +0ms

Cypress Version

13.17.0, also confirmed it fails with 14.2.0

Node version

23.6.1

Package Manager

npm

Package Manager Version

10.9.2

Operating system

Mac

Operating System Version

15.3.2

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    stage: needs informationNot enough info to reproduce the issuetopic: installationIssue during installation or downloading Cypress

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions