I am working on my React Native app built with expo. Today I was really bothered by the console that all the time was reminding me that there is a new version of expo, so I decided to update it. I followed the steps given on the expo docs. Everything in update seemed working fine but in nearly a half command : expo upgrade stacked and returned me this error expo NPM ERR I listed previous solutions that I should check my package.json file and app.json file to match the sdk versions but I got all three set up on the same :
{
"expo": {
"name": "bakalarka",
"slug": "bakalarka",
"privacy": "public",
"sdkVersion": "36.0.0", ...
and my package.json file:
"dependencies": {
"core-js": "^3.6.4",
"expo": "^36.0.0",
"expo-font": "~8.0.0",
"expo-image-picker": "~8.0.1",
"expo-linear-gradient": "~8.0.0",
"linear-gradient": "^1.0.6",
"moment": "^2.24.0",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz", ...
When I just want to start the app my Android emulator shows me error as: React native version mismatch. Does anyone know where might be the problem? Thank you in advance! :)
Execute expo update from your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With