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

CI : "the Cypress binary is missing" #739

Open
estellecomment opened this issue Oct 3, 2023 · 0 comments
Open

CI : "the Cypress binary is missing" #739

estellecomment opened this issue Oct 3, 2023 · 0 comments

Comments

@estellecomment
Copy link
Contributor

CI jobs now fail with

$ cypress run
The cypress npm package is installed, but the Cypress binary is missing.

We expected the binary to be installed here: /Users/runner/.cache/Cypress/12.17.4/Cypress.app/Contents/MacOS/Cypress

Reasons it may be missing:

- You're caching 'node_modules' but are not caching this path: /Users/runner/Library/Caches/Cypress
- You ran 'npm install' at an earlier build step but did not persist: /Users/runner/Library/Caches/Cypress

Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.

Alternatively, you can run 'cypress install' to download the binary again.

https://on.cypress.io/not-installed-ci-error

Example job : https://github.com/tchapgouv/tchap-web-v4/actions/runs/6390836564/job/17344911745

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant