Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing beta channel builds on M1 chips is broken #20344

Closed
JessicaSachs opened this issue Feb 23, 2022 · 2 comments · Fixed by #20345
Closed

Installing beta channel builds on M1 chips is broken #20344

JessicaSachs opened this issue Feb 23, 2022 · 2 comments · Fixed by #20345
Labels
topic: installation Issue during installation or downloading Cypress

Comments

@JessicaSachs
Copy link
Contributor

Current behavior

Installing Cypress's beta channel (like for 10.0-release) doesn't work. It 404s

Steps to reproduce:

Run

npm install https://cdn.cypress.io/beta/npm/10.0.0/darwin-x64/circle-10.0-release-22c1683f3ca32aaf413ce48d2f6b4e1302e6e824/cypress.tgz -D

image

Proposed Fix

This doesn't fail for production installs because we're using the arch() package inside for cli/lib/tasks/download.js. The fix for beta builds is to swap os.arch() inside of cli/lib/tasks/install.js to use the arch() library.

Debug logs

No response

Cypress Version

Beta

Package Manager

npm

Operating system

Mac

Other

M1 Chip Mac

@JessicaSachs JessicaSachs added the topic: installation Issue during installation or downloading Cypress label Feb 23, 2022
@cypress-bot cypress-bot bot added the stage: needs review The PR code is done & tested, needs review label Feb 23, 2022
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 23, 2022

The code for this is done in cypress-io/cypress#20345, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Feb 23, 2022
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 28, 2022

Released in 9.5.1.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v9.5.1, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic: installation Issue during installation or downloading Cypress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant