-
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
Cypress should have a warning when in a Read Only FS not error #2064
Comments
How do you install node_modules? |
@brian-mann That's handled by the yarn bazel rules, which is irreverent to this issue. |
4 years, and nothing changed :( @Toxicable maybe you found solution for this? ;) In my case for component testing I'm using Cypress inside official docker container. I cannot install it directly inside Node container because it's based on Alpine linux which Cypress does not support. I just mounted my JS project as volume and it works great. But since Cypress in docker runs as root, I want to be sure that it will not mess up my project with any root files, like videos or screenthods. I do not want it to seed anything. Cypress should test my project and simply live it alone, without creating anything... To be sure I mounted volume as read only, but Cypress is not happy about that. Why @brian-mann ? If Cypress is not going to put anything in my project (cypress was initiated, videos/screenshots are disabled) then why it requires access to my source root? |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior:
Cypress will throw when run in a read only FS.
In my case im running it under Bazel which only allows reading from it's processes unless specific files are stated to be written.
Desired behavior:
This error should be caught and handled as a warning that features like project seed, screenshots, video recording will be disabled when being unsed in a Read Only File system.
Versions
related: #1281
The text was updated successfully, but these errors were encountered: