Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29622

React native version mismatch: native version: 0.61.5, javascript version: 0.57.7

$
0
0

I have a react-native app, which does not use expo. I get the following error:

 React Native version mismatch.
                             │ 
                             │ JavaScript version: 0.57.7
                             │ Native version: 0.61.5
                             │ 
                             └ Make sure that you have rebuilt the native code. If the problem persists try clearing the Watchman and packager caches with `watchman watch-del-all && react-native start --reset-cache`.

I have done everything mentioned in this question and nothing has worked so far.

I have updated react-native version to 0.61.5 . It is installed and it is also mentioned in package.json. I have also updated all packages in packages.json.

The project also uses react-navigation. In @react-navigation file in node modules, in native/package.json file, it is the only place that "react-native": "^0.57.7", is mentioned under devDependencies. I have installed the latest react-navigation, 4.0.10.


Viewing all articles
Browse latest Browse all 29622

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>