Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.
Stack trace:
node_modules\react-native\Libraries\LogBox\LogBox.js:149:8 in registerError
node_modules\react-native\Libraries\LogBox\LogBox.js:60:8 in errorImpl
node_modules\react-native\Libraries\LogBox\LogBox.js:34:4 in console.error
node_modules\expo\build\environment\react-native-logs.fx.js:27:4 in error
node_modules\react-native\Libraries\Core\ExceptionsManager.js:104:6 in reportException
node_modules\react-native\Libraries\Core\ExceptionsManager.js:172:19 in handleException
node_modules\react-native\Libraries\Core\setUpErrorHandling.js:24:6 in handleError
node_modules\@react-native\polyfills\error-guard.js:49:36 in ErrorUtils.reportFatalError
node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:367:8 in __guard
node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:112:4 in callFunctionReturnFlushedQueue
[native code]:null in callFunctionReturnFlushedQueue
...
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.
Stack trace:
node_modules\react-native\Libraries\LogBox\LogBox.js:149:8 in registerError
node_modules\react-native\Libraries\LogBox\LogBox.js:60:8 in errorImpl
node_modules\react-native\Libraries\LogBox\LogBox.js:34:4 in console.error
node_modules\expo\build\environment\react-native-logs.fx.js:27:4 in error
node_modules\react-native\Libraries\Core\ExceptionsManager.js:104:6 in reportException
node_modules\react-native\Libraries\Core\ExceptionsManager.js:172:19 in handleException
node_modules\react-native\Libraries\Core\setUpErrorHandling.js:24:6 in handleError
node_modules\@react-native\polyfills\error-guard.js:49:36 in ErrorUtils.reportFatalError
node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:367:8 in __guard
node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:112:4 in callFunctionReturnFlushedQueue
[native code]:null in callFunctionReturnFlushedQueue
...