Error when running gatsby clean #38632
Unanswered
oshincollin
asked this question in
Help
Replies: 1 comment
-
Hey @oshincollin, Can you try some solutions here ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run
gatsby clean
I get this error:` ERROR UNKNOWN
There was an unhandled error and we could not retrieve more information. Please run the command with the --verbose flag again.
ERROR UNKNOWN
[Error: EPERM: operation not permitted, rmdir 'C:\Users\hicol\Projects\sandboxes\gatsby-diagnosis\my-gatsby-diagnosis.cache.parcel-cache'] {
errno: -4048,
code: 'EPERM',
syscall: 'rmdir',
path: 'C:\Users\hicol\Projects\sandboxes\gatsby-diagnosis\my-gatsby-diagnosis\.cache\.parcel-cache'
}
`
I've been trying to complete the Gatsby Getting Started Tutorial, but whenever I get to part 6, the
gatsby clean
command begins generating the above error. It's usually after the part of the tutorial where I add a blog directory to the project root.I've replicated this 3 times. I've tried going back to prior commits with no luck. I think it is a windows issue as I've tried on my mac with no problems.
I've found other articles regarding windows marking files as read-only but this did not resolve the issue.
Any ideas what might be going on?
Beta Was this translation helpful? Give feedback.
All reactions