I'm trying to code normally. I just installed realm, it works great. But on iOs, after enabling remote debugging and hit reload, this error message pops up.
It happens with both chrome debugger and React Native Debugger.
It happens only on iOs.
I should see my app.

Unable to find module for EventDispatcher
-[RCTCxxBridge moduleForName:lazilyLoadIfNecessary:]
RCTCxxBridge.mm:478
-[RCTCxxBridge moduleForClass:]
-[RCTBridge(RCTEventDispatcher) eventDispatcher]
-[RCTSettingsManager userDefaultsDidChange:]
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
_CFXRegistrationPost
___CFXNotificationPost_block_invoke
-[_CFXNotificationRegistrar find:object:observer:enumerator:]
_CFXNotificationPost
-[NSNotificationCenter postNotificationName:object:userInfo:]
-[RCTDevSettingsUserDefaultsDataSource _reloadWithDefaults:]
-[RCTDevSettingsUserDefaultsDataSource initWithDefaultValues:]
-[RCTDevSettings init]
__44-[RCTModuleData initWithModuleClass:bridge:]_block_invoke
-[RCTModuleData setUpInstanceAndBridge]
__25-[RCTModuleData instance]_block_invoke
RCTUnsafeExecuteOnMainQueueSync
-[RCTModuleData instance]
__49-[RCTCxxBridge _prepareModulesWithDispatchGroup:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
start
0x0
This is a secret of realmjs and they maintainers dont care about it
I was also having this issue and solved it by downgrading to RN 0.57.8. This obviously isn't an ideal solution, but there really are no ideal solutions when it comes to using realm with a chrome based debugger (see #491). You'll either need to accept limited debugging capabilities or switch to an alternative database.
I have the same error(((
Will be work with react-native-sqlite-storage.
About realm see comment
It seems to be a more general problem: https://stackoverflow.com/questions/54883304/unable-to-find-module-for-eventdispatcher-react-native
Hey - looks like you forgot to add a T:* label - could you please add one?
Most helpful comment
This is a secret of realmjs and they maintainers dont care about it