React Native version mismatch. JavaScirpt version:0.49.3 ,Native version:0.50.3
See original GitHub issueIs this a bug report?
(write your answer here)
Have you read the Contributing Guidelines?
(Write your answer here.)
Environment
Steps to Reproduce
(Write your steps here:)
Expected Behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:23 (2 by maintainers)
Top Results From Across the Web
React Native version mismatch - Stack Overflow
The "JavaScript version 0.50.1" in the error console is the react-native version in your package.json file. Make sure it is the same version...
Read more >"React Native version mismatch" errors - Expo Documentation
When developing an Expo or React Native app, it's not uncommon to run into an error that looks like: React Native version mismatch....
Read more >How to Fix a React Native Version Mismatch Quickly - Waldo
A well-working solution involves removing all your dependencies and cache from your project and generating your Android and iOS builds again.
Read more >How to fix React Native version mismatch - DEV Community
To fix this just do the following. 1). Open package.json. 2). Change this line. "react-native": "^0.61.4",. to reflect the new version.
Read more >React Native version mismatch. JavaScript version: 0.50.4 ...
React Native 启动时报错: React Native version mismatch. JavaScript version: 0.50.4 Native version: 0.51. Best__ 于 2018-05-16 09:20:07 发布 3671 收藏.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You probably forgot to close your React Packager (terminal) which is running with a different version of react native. Try to close it and restart your app again
Update : If it still doesn’t work, you can force React Native version in
android/app/build.gradle
file like this:compile ("com.facebook.react:react-native:0.52.0") { force = true }
. Change 0.52.0 to the version you’re using, found in package.json. (from this answer)The mismatch means that the version of your JS and your native code don’t match. Closing this since this isn’t a bug with React Native. Please post if you have a suggestion for how to communicate this more clearly, the fundamental problem is that the JS doesn’t work with the native code though so there’s no way we can make this magically work.