Should help with avoiding errors like:
No version of Cypress is installed in: /home/rkb/.cache/Cypress/6.2.1/Cypress
Please reinstall Cypress by running: cypress install
----------
Cypress executable not found at: /home/rkb/.cache/Cypress/6.2.1/Cypress/Cypress
----------
Platform: linux (NixOS - )
Cypress Version: 6.2.1
and
Cypress failed to start.
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
----------
Command failed with ENOENT: /home/rkb/.cache/Cypress/6.2.1/Cypress/Cypress --no-sandbox --smoke-test --ping=459
spawn /home/rkb/.cache/Cypress/6.2.1/Cypress/Cypress ENOENT
----------
Platform: linux (NixOS - )
Cypress Version: 6.2.1
EACCES: permission denied, open '/home/rkb/.config/Cypress/cy/production/browsers/chrome-stable/interactive/CypressExtension/background.js'
apply this patch to Cypress from within the shell.nix
(or get it upstreamed?) done. Super hacky, but done!
I followed all these steps but when I try to run cypress it errors out with :
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory