Hey there! I’m trying to run Cypress E2E and they’ve been working for some weeks. Suddenly, we started seeing failed build with this error:
Error: EACCES: permission denied, open '/home/circleci/chemsquare-frontend/node_modules/cypress/dist/info.json'
Platform: linux (Debian - 8.10)
Cypress Version: 2.1.0
I found some issues and topics regarding incorrect access rights, but since we install the dependencies without sudo, I don’t understand why this directory should not be accessible…
I don’t use this test system, but could you wind back your base Docker image to a specific hash key, in case that is the cause? I don’t know if this works in Circle, but might be worth a try - in Docker you can lock images to a specific build, e.g.:
Of course you’d need to swap out the image and hash for your own values. I would imagine the Docker image hash history is available on Docker Hub or GitHub.