You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm getting follow error on RN Expo 51. How I can fix that?
Invariant Violation: `new NativeEventEmitter()` requires a non-null argument., 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.registerComponent` wasn't called., js engine: hermes
The text was updated successfully, but these errors were encountered:
This error is normally due to a wrong installation of the plugin. I would suggest you clean metro caches, re-install your node modules and make sure you run pod install in your iOS folder since that can sometimes be the culprit
If that doesn't help, do you mind sharing the output you see when installing the plugin, and your Podfile.lock.
I had this same issue. I tried what @vegaro said...
I reset everything in my project regarding build files, include iOS folder etc.
This resolved the issue temporarily but now this issue back
I am also using RN Expo 51.
Relinking the package seems to resolve the issue temporarily as well: npx expo install react-native-purchases
But its strange that this happens randomly
Hi! I'm getting follow error on RN Expo 51. How I can fix that?
The text was updated successfully, but these errors were encountered: