I ran react-native-git-upgrade so I can run react-native run-android later on to build my app on my device but an error message appeared.
The error says:
Error: react-native version in "package.json" (https://github.com/expo/react-native/archive/sdk-31.0.0.tar.gz) doesn't match the installed version in "node_modules" (0.57.1).
I tried running 'npm install' again but the error still occurs.