Trying to run the basic boilerplate Expo setup on Android Emulator and it’s not working once React-Navigation gets installed.
Logs for your project will appear below. Press Ctrl+C to exit.
Android Bundling complete 2169ms
ERROR TypeError: 0, _native.createNativeStackNavigator is not a function (it is undefined), js engine: hermes
ERROR 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.registerComponentwasn’t called., js engine: hermes