Giter Site home page Giter Site logo

Error: EPERM - rmdir about del HOT 6 CLOSED

sindresorhus avatar sindresorhus commented on September 15, 2024
Error: EPERM - rmdir

from del.

Comments (6)

sindresorhus avatar sindresorhus commented on September 15, 2024 1

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

from del.

sindresorhus avatar sindresorhus commented on September 15, 2024

It means you don't have permission to delete the at folder. It might have been created using another user or super user. https://www.google.co.th/search?q=Error%3A+EPERM&oq=Error%3A+EPERM&aqs=chrome..69i57j69i58j69i61.279j0j1&sourceid=chrome&es_sm=91&ie=UTF-8

from del.

iongion avatar iongion commented on September 15, 2024

No, it does not mean that, but thank you for the link!
You closed the ticket directly, you already knew the solution but without taking patience to understand the problem.

from del.

iongion avatar iongion commented on September 15, 2024

I have updated the module to 2.0.0, it seems not to happen anymore, the debate is long over the webs, some blame NTFS as being the source of errors(having it occur on OSX shows it might not be file-system related). I just thought you met this before and in that respect I have posted it. I am sorry for creating you anger, I thought that the whole idea with public contributions is that people help each-other. Do you think I can have a better understanding of what happens behind the scenes of this code than you ?

del('build/**/*.json')

I am an user of your project, I chosen it because it solves a problem I face everyday, because I do no want to roll my own, that is why I trust all that in to the developer's hands. When issues appear because of introducing this, what do you expect your users to do ?

I am not just jumping into reporting bugs, make sure I did my research first.
In all good will and honesty, how would you have expected this to be reported ?
Or why/what rational process should have brought me to the decisions not to open this ticket at all ?

from del.

kevva avatar kevva commented on September 15, 2024

Looking at your issue and the absence of any code or details about your enviroment, steps to reproduce etc, there no way to draw any other conclusions than you having a permission issue (which EPERM is).

from del.

sindresorhus avatar sindresorhus commented on September 15, 2024

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: isaacs/rimraf#86 And it might be fixed by doing retries on EPERM, as the EPERM might only be temporary. rimraf is what del uses underneath.

from del.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.