Having an issue with rudderstack in react-native a...
# support
w
Having an issue with rudderstack in react-native and expo After going through the setup, when I start my dev simulator I get this error Error: Failed to load Rudderlabs native module., 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
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Let me check on this and get back to you.
w
Thanks @shy-kite-21035. Any updates. I'm using expo: 49.0.7 @rudderstack/rudder-sdk-react-native: 1.8.0
Will have to move over to another product for the time being but still looking to get this solved
m
It seems to be an instrumentation issue. First please close the server (if it's running somewhere) and run it again at the root of the project. Also make sure the React Native project contains android and iOS folders.
w
Do I need both an ios and adroid folder
m
Yes you will need both Android and iOS folders.