Search code examples
react-nativereact-native-ios

React Native version mismatch


Getting the following message when I init a new project and then launch the Xcode emulator:

React-Native Version Mismatch

Javascript Version 0.50.1 Native version: 0.50.0

Make sure you have rebuilt the native code. ...

Does anyone know what is going on here and can help me?


Solution

  • This is what I've done with it:

    Close all terminals and run build again.

    You may forget to close nodejs terminal from another project, and they happen to have installed different react version.

    So the code fetches from nodejs server conflicts with the native one.