A while back I was tinkering with some website and installed some npm packages.
Then I tried to delete the nodes modules folder… NOTHING worked… Safe mode, permissions change, command line deletion,… I spend like an hour googling and raging, it’s my fucking computer I put the fucking file there, let me delete it!!!
I was ready to give up and finally stumbled on the answer on stack overflow. The npm folder that was created (I forget exactly what it was) had the ~ symbol in path name and that basically made the folder invincible.
Luckily the poster also posted the command line to nuke the fucker and I was finally able to delete it.
So yea, I kinda get it. Seeing that stupid you don’t have permission to delete this file pop-up is rage inducing.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
Man, I kind of feel for the poster.
A while back I was tinkering with some website and installed some npm packages.
Then I tried to delete the nodes modules folder… NOTHING worked… Safe mode, permissions change, command line deletion,… I spend like an hour googling and raging, it’s my fucking computer I put the fucking file there, let me delete it!!!
I was ready to give up and finally stumbled on the answer on stack overflow. The npm folder that was created (I forget exactly what it was) had the ~ symbol in path name and that basically made the folder invincible.
Luckily the poster also posted the command line to nuke the fucker and I was finally able to delete it.
So yea, I kinda get it. Seeing that stupid you don’t have permission to delete this file pop-up is rage inducing.
Always know your escape characters! Usually \ works
(I wonder how many clients show that as double backslash)