1. Problem:
React Native there is no problem with the development of Android, packaged signature APK, which can run normally, but run the program in development mode directly through the command line react-native run-android
in the project. After the program starts, an error is reported:
React Native version mismatch.
JavaScript version: 0.54.3
Native version: 0.55.3
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`.
reactConsoleErrorHandler
checkVersions
(anonymous function)
loadModuleImplementation
guardedLoadModule
_require
(anonymous function)
executeApplicationScript
(anonymous function)
regeneratorRuntime is not defined
handleException
handleError
reportFatalError
guardedLoadModule
_require
(anonymous function)
executeApplicationScript
(anonymous function)
Failed to print error:
the reason is unknown.
try to delete and install node_modules as a whole, which is not easy to use.
what is the cause of this problem and how to fix it?