-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Describe how to solve "cached binary not found" error on CI #2140
Comments
Maybe link to https://github.com/bahmutov/yarn-cypress-cache as another example |
@bahmutov is this still valid? |
@amirrustam can you answer the solution to this problem? im getting the same erro in second time when i run CI process in gitlab. |
Same for me @amirrustam & @elvishuges ? did you figured out this issue ? thanks ;) |
+1 here
|
i'm getting the same error: added 299 packages, and audited 300 packages in 12s 12 moderate severity vulnerabilities To address issues that do not require attention, run: To address all issues (including breaking changes), run: Run We expected the binary to be installed here: /home/runner/.cache/Cypress/6.9.1/Cypress/Cypress Reasons it may be missing:
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 Platform: linux (Ubuntu - 20.04) |
See https://docs.cypress.io/app/references/advanced-installation#Troubleshoot-installation |
Dominic Elm, our ambassador had this problem in branch https://travis-ci.org/d3lm/ngx-drag-to-select/jobs/594782686 where
yarn
would not install Cypress binary. The docs in https://docs.cypress.io/guides/references/error-messages.html#A-Cached-Cypress-Binary-Could-not-be-found are less than clear. I think we can put an additional section there telling to:yarn
ornpm
version to avoid their bugsDEBUG=cypress:cli
environment variable to see what is going with the installationnpx cypress cache path
andnpx cypress cache list
to see installed binary versionsnpx cypress install
command to ensure the binary is there, even if thepostinstall
hook is not triggered by some reasonThe text was updated successfully, but these errors were encountered: