Invariant Violation: "main" has not been registered. This can happen if: * Metro (the…
- User
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
- Assistant
- User
this problem only happens when i try to run the app on real device by scanning the qr code
- Assistant
- User
not working
- Assistant
- User
this is the command am using npx expo start and here is my app.json { "expo": { "name": "SimpleRNSDKDemo", "slug": "SimpleRNSDKDemo", "version": "1.0.0", "orientation": "portrait", "icon": "./assets/icon.png", "userInterfaceStyle": "light", "splash": { "image": "./assets/splash.png", "resizeMode": "contain", "backgroundColor": "#ffffff" }, "assetBundlePatterns": [ "**/*" ], "ios": { "supportsTablet": true, "bundleIdentifier": "com.ihealthlabs.sdk.simplern" }, "android": { "adaptiveIcon": { "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#ffffff" }, "package": "com.ihealthlabs.sdk.simplern" }, "web": { "favicon": "./assets/favicon.png" } } }
- Assistant
- User
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 . please help me i have tried multiple solutions no ones work
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.