A simple way to do it would be to uninstall the current react-navigation dependencies you have by running npm uninstall react-navigation . That should remove it from your package. json and package-lock. json .
A simple way to do it would be to uninstall the current react-navigation dependencies you have by running npm uninstall react-navigation . That should remove it from your package. json and package-lock. json .