question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: EPERM - rmdir

See original GitHub issue

On 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:closed
  • Created 8 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sindresorhuscommented, Oct 20, 2015

@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.

0reactions
sindresorhuscommented, Oct 20, 2015

I am sorry for creating you anger

I’m not sure why you would think I’m angry, I’m not at all. Just telling why I responded like I did 😃

I thought that the whole idea with public contributions is that people help each-other.

Usually it’s people demanding me to help them.

When issues appear because of introducing this, what do you expect your users to do?

At minimum, Google the error message and do some light debugging yourself.

In all good will and honesty, how would you have expected this to be reported?

Include which version of del you’re using, Node.js version, a snippet of code that can reproduce the issue.

Or why/what rational process should have brought me to the decisions not to open this ticket at all ?

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. rimraf is what del uses underneath.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found