loading...

NPM AUDIT FIX RUINED MY REACT NATIVE PROJECT

aoreclause profile image Emmanuel Oreoluwa ・1 min read

After i ran npm audit fix i started getting errors in my react native project
i can't start metro bundler, i can't run react native run android e.t.c
What should i do to save my project

Discussion

markdown guide
 

Did you check in the code? Because then you can revert to the commit prior to the one you made the changes to.

 
 
 

just delete the node_modules folder.

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

 

If I discard changes in my source control will that fix it

 

If you discard to before you started and then clean the node_modules folder and then run npm install and then run your project you should be fine.

Thank you I will try it
And see if this works

 

Please consider adding the #help tag to your post to increase visibility. Hope you find your answer!

 
 

You move to latest version of react native. move back to old version of react native.
react-native": "0.59.2"