I upgraded from an older intel Macbook to my current M1 macbook. I expected some issues when moving to Apple Silicon, but I got most of them ironed out. I'll include this info in case the devil is in the details.
- Migration from Macbook(intel) to the new macbook (apple silicon) caused existing packages and installs to not work. Resolved by nuking from orbit, installing fresh on ARM infra.
- Homebrew installed, but not found. Resolved by updating $PATH
- Yarn installed, which is how we manage dependencies in the repo
- Cloned the repo
- yarn installed cypress and all dependencies
- Ran cypress, failed with generic error message. Resolved by installing Rosetta 2
- Ran cypress, succeeded in opening the Cypress UI
From here forward, running any test results in dreadfully slow loading of the site I need to test. I'm seeing a trickle of 200 responses come in from very few network requests. Normally I'd see all of them in 2-3 seconds, but I'm timing out before any of the site's UI loads.
Got it! The issue was that in our master branch, Cypress was running at
[email protected]
Apple Silicon can't handle Cypress versions older than
10.x.x
Solution is to upgrade Cypress to latest version.