Skip to content

Cypress tests are failing

Jeremy Karlsson edited this page Aug 19, 2024 · 1 revision

If the cypress tests are failing with the following error:

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

We expected the binary to be installed here: /home/runner/.cache/Cypress/13.13.2/Cypress/Cypress

Reasons it may be missing:

- You're caching 'node_modules' but are not caching this path: /home/runner/.cache/Cypress
- You ran 'npm install' at an earlier build step but did not persist: /home/runner/.cache/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.

then the caches need to be cleared. Find them at: https://github.com/tidal-music/tidal-sdk-web/actions/caches

Clone this wiki locally