question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing cypress 6.9.0 fails when downloading binary

See original GitHub issue

Current behavior

Trying to install cypress 6.x via Yarn fails because the binary can’t be found. It also isn’t downloadable via plain wget. I’m not behind a proxy. I don’t see the 6.9.0 release posted on GitHub - was it published by mistake?

Installing 6.8.0 using yarn add cypress@~6.8.0 does work.

> yarn add cypress@^6.0.0
yarn add v1.22.10
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
[-/6] ⢀ waiting...
[2/6] ⢀ fsevents
[3/6] ⠠ cypress
[-/6] ⠠ waiting...
error <...>/node_modules/cypress: Command failed.
Exit code: 1
Command: node index.js --exec install
Arguments:
Directory: <...>/node_modules/cypress
Output:
Installing Cypress (version: 6.9.0)

[16:06:30]  Downloading Cypress     [started]
[16:06:31]  Downloading Cypress     [failed]
[16:06:31] → The Cypress App could not be downloaded.

Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration

Otherwise, please check network connectivity and try again:

----------

URL: https://download.cypress.io/desktop/6.9.0?platform=darwin&arch=x64
Error: Failed downloading the Cypress binary.
Response code: 404
Response message: Not Found

----------

Platform: darwin (20.3.0)
Cypress Version: 6.9.0
The Cypress App could not be downloaded.

Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration

Otherwise, please check network connectivity and try again:

----------

URL: https://download.cypress.io/desktop/6.9.0?platform=darwin&arch=x64
Error: Failed downloading the Cypress binary.
Response code: 404
Response message: Not Found

----------

Debug logs

Download method

  • npm
  • yarn
  • Direct download
  • other

Operating System

  • Linux
  • Mac
  • Windows

Other

  • I’m installing latest Cypress version
  • I’m behind a proxy
  • This only occurs in CI

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
sjagoecommented, Apr 6, 2021

We’re seeing intermittent HTTP 404 errors downloading cypress 6.9.1, causing CI installs to fail somewhat randomly

# First attempt
$ curl -Ssf -o/dev/null "https://download.cypress.io/desktop/6.9.1?platform=linux"
--> # success
# Second run:
$ curl -Ssf -o/dev/null "https://download.cypress.io/desktop/6.9.1?platform=linux"
curl: (22) The requested URL returned error: 404
1reaction
jennifer-shehanecommented, Apr 6, 2021

There was an issue publishing our 7.0.0 release. We advise users to not install 6.9.0 at this time and to instead install:

6.8.0: Working version 7.0.0: Working version with breaking changes. See our changelog for full details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing - Cypress Documentation
Notice that the Cypress npm package is a wrapper around the Cypress binary. The version of the npm package determines the version of...
Read more >
Error: Failed downloading the Cypress binary - Stack Overflow
Cypress team published 6.9.0 by mistake, really the version is 7.0.0 and they will remove 6.9.0:.
Read more >
How to get Cypress working on windows - DEV Community ‍ ‍
Download zip file from Cypress · In vscode terminal run, setx CYPRESS_INSTALL_BINARY C:\path-to\Downloads\cypress.zip · Don't be in a hurry ...
Read more >
How to Install Cypress for Test Automation | BrowserStack
How to Install Cypress? 1. Using NPM; 2. Downloading Cypress Directly. Running Cypress Tests on Real Browsers Using BrowserStack. Getting ...
Read more >
cypress - npm
What is this? Cypress comes packaged as an npm module, which is all you need to get started testing. After installing you'll be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found