Error: EPERM - rmdir
See original GitHub issueOn rare occasions I get this:
[11:40:41] 'clean.build' errored after 412 ms
[11:40:41] Error: EPERM, rmdir 'W:\Workspace\my-project\build'
at Error (native)
It happens on OSX too, but never got it on Linux
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
npm - EPERM: operation not permitted on Windows
My Solution for the problem · Right-click on the project folder · Go to properties -> Security Tab · Select Users -> Edit...
Read more >EPERM: operation not permitted (rmdir) when using prune #597
At present it always fails when I have the --overwrite argument with an EPERM error of some sort. Mostly it is EPERM rmdir...
Read more >Error - EPERM operation not perrmitted rmdir - Archive
How to solve this error Application open on mobile image not get capture on laptop screen- of mo…
Read more >npm ERR! Error: EPERM: operation not permitted, rename
Windows : npm ERR! Error : EPERM : operation not permitted, rename [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >Error: EPERM: operation not permitted, rmdir - Local Community
Issue Summary I am getting an error when I choose “Site Domain” instead of localhost when running NGINX, using Windows 11: Error: EPERM: ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@iongion What’s to understand? You’ve given me nothing to work with other an a generic error message that you could have easily Googled for yourself. I gave you as much time as put into this issue. Also realize I get hundreds of these kinds of issues every week, and almost all of them are some kind of user mistake or problem with their system.
I’m not sure why you would think I’m angry, I’m not at all. Just telling why I responded like I did 😃
Usually it’s people demanding me to help them.
At minimum, Google the error message and do some light debugging yourself.
Include which version of
delyou’re using, Node.js version, a snippet of code that can reproduce the issue.I’m not saying you shouldn’t have opened this issue. I’m just saying there’s not much I can do about it based on the info you provided, and it’s most likely an issue out of my hands. I have no way to reproduce it, so how do you expect me to fix anything?
I’ve looked into this for you, and it seems like this might be relevant: https://github.com/isaacs/rimraf/issues/86 And it might be fixed by doing retries on EPERM, as the EPERM might only be temporary.
rimrafis whatdeluses underneath.