-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Error: EACCES: permission denied, stat '/root/.cache/Cypress/9.2.0/Cypress/Cypress' #19457
Comments
@tsaint31 Can you please provide the full error message? |
this is the error i receive in github action
|
@tsaint31 are you running cypress in a cypress provided docker file? If so which are you using? If not how are you building out your docker file? Since this is failing due to access in a docker container it seems like we could get a reproducible example together. |
This issue may be related: cypress-io/github-action#446 Try this work around: cypress-io/github-action#446 (comment) |
We found the answer to our problem do not know really why but it solve the point. |
I have the same problem but a little bit different case. I run inside one docker container node.js server that runs cypress tests, when it receives request, by running cli commands. And if I create any volume for such a container I experience this problem, even if volume has no relation to the Cypress part. My dockerfile:
My docker compose file:
Error message
|
Current behavior
when i run in a docker container
npm run cy:run:git:stg
i got the error:
I do not understand why i got this error as i launch the command as root and the permission on the directory are OK
Desired behavior
cypress should start as usual
Test code to reproduce
the command in the package json is
Cypress Version
9.2.0
Other
No response
The text was updated successfully, but these errors were encountered: