Amogh S V
Amogh S V

Reputation: 1

The node_modules folder from my react app is not getting deleted, how do I delete it from my system?

I created a react app using the create-react-app command and after I was done with it, I wanted to delete the app. I tried deleting the whole folder and it deleted everything except a few particular files in the node_modules folder.

I'm getting the following message when I'm trying to delete.

enter image description here

Upvotes: 0

Views: 1520

Answers (2)

Stoobish
Stoobish

Reputation: 1362

rm -rf <what you want to delete> in terminal works all the time.

Upvotes: 0

blablabla
blablabla

Reputation: 69

  1. Try to move the folder inside another folder and delete the parent folder.

  2. Move the folder to a different location and then delete it.

  3. Restart the pc and then delete the folder.

This methods works sometimes in windows.

Upvotes: 1

Related Questions