-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
reduxcache* folders are not deleted starting at gatsby 2.19.22 in Docker containers #22562
Comments
I did find that post and run the above without VSCode in the picture and that's when I got the error above. With VSCode, I get the following error:
Note that I'm running this in Docker container with a Linux VM, so maybe WSL options don't apply. |
The steps in #21982 don't resolve the problem. I've got the same problem with this container: but in this container is working fine: |
@liviu-marciu I see two different gatsby version. I'm pretty sure this problem will bisect to the version that introduced the reduxcache folder (.19 I think?). I don't know, this is weird. Perhaps the Docker binding is somehow causing weird permission problems. As you can see this issue-tracker is not flooded with people who are having permission trouble, so this does appear to be something very specific to this kind of setup. If removing the Please make sure there's nothing in this setup that somehow uses root permissions to generate these folders or whatever. Did you check who "owns" these folders, anyways? Is it your user or root? What about the process that runs The steps for debugging are not that hard, normally. So if somebody is willing to debug let me know so I can help you out there. |
I am executing everything under root users, so all files have got root permission. Happy to debug if you can guide me through. Thanks. |
Does #22959 happen to solve this problem? |
Tried with gatsby 2.20.24, it works now! Thanks for the fix! |
Description
I have a Docker setup for Gatsby with the following configuration:
When I run
gatsby develop
, I get the following error:This happens with version 2.19.22, and not with version 2.19.21. I was getting another error earlier, saying something along the lines of cannot move files between incompatible systems. My Docker is on Windows, using Linux VM. I believe the error comes from trying to use system calls for moving files instead of npm package, but I might be wrong, since I don't know JS well enough to debug this.
Steps to reproduce
Described above
Expected result
Described above
Actual result
Described above
Environment
Run
gatsby info --clipboard
in your project directory and paste the output here.The text was updated successfully, but these errors were encountered: