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!
For the record, I just upgraded from Cypress
v10.11.0
tov12.1.0
and I had to drop entireinstallPhase
.So, as for
cypress-overlay.nix
, before:... and after: