loading...

re: NPM AUDIT FIX RUINED MY REACT NATIVE PROJECT VIEW POST

TOP OF THREAD FULL DISCUSSION
re: how do i clean node modules
 

just delete the node_modules folder.

I already ran npm install should I still go on and delete the folder

In order to clean node_modules you need to execute 2 steps:
1) rm -rf node_modules/
2) npm i

Step 1) removes node_modules folder with all its content from the app
Step 2) re-installs all packages specified in package.json file

Now your app will have a clean node_modules folder with just the needed packages installed.

Code of Conduct Report abuse