Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing libRTCordova.a, ERROR new NativeEventEmitter() requires a non-null argument. #14

Open
sirpeas opened this issue Mar 13, 2023 · 0 comments

Comments

@sirpeas
Copy link

sirpeas commented Mar 13, 2023

6 years passed since last release happened. I hope someone will see this.
I'm running into problem setting it up with newest ReactNative 0.71.4 along with indoorAtlas library.

After adding this into package.json, which chas @remobile/react-native-cordova as a dependency, so I'm installing ver 1.1.1 as well of it.

"react-native-indooratlas": "git+https://github.com/IndoorAtlas/cordova-plugin.git#react-native",

and then on mounting component I initialize IndoorAtlas SDK I go this errors:

 ERROR  Invariant Violation: `new NativeEventEmitter()` requires a non-null argument., js engine: hermes
 LOG  Running "MobileAppName" with {"rootTag":1,"initialProps":{}}
 ERROR  Invariant Violation: "MobileAppName" 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

Thing is that those errors are not connected to the hermes itself, it looks like one of those packages broke the build pipe.
I tried to go through README.md installation process but libRCTCordova.a file is missing under xcodeproj.

Any thoughts?

@sirpeas sirpeas changed the title [ISSUE] Missing libRTCordova.a, ERROR new NativeEventEmitter() requires a non-null argument. Missing libRTCordova.a, ERROR new NativeEventEmitter() requires a non-null argument. Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant