Module AppRegistry is not registered callable module (calling runApplication)
Just kill all node process and start npm server and run application:
Step1: run command killall -9 node
For windows users, run:
taskkill /im node.exe
Run
taskkill /f /im node.exe
if the process still persists.
Step2: run command npm start --reset-cache
Step3: run command react-native run-ios
OR react-native run-android
Closing the current Metro Bundler and restarting by resetting the cache worked for me
npm start -- --reset-cache
react-native start --reset-cacher
You should have this at the bottom of the index.ios.js
file
AppRegistry.registerComponent('Point', () => Point);
and also import AppRegistry
from react-native
Close the current Metro Bundler and restart by typing the comment:
npm start -- --reset-cache