question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOs] [remote debugging] Unable to find module for EventDispatcher React Native

See original GitHub issue

Goals

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.

Expected Results

I should see my app.

Actual Results

image

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

Steps to Reproduce

  • Add realm to a new project
  • enable remote js debugging
  • reload
  • the message appears

Version of Realm and Tooling

  • Realm JS SDK Version: ^2.26.0
  • Node or React Native: 0.59.3
  • Client OS & Version: iphone X
  • Which debugger for React Native: React Native Debugger / Chrome debugger

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
zekcommented, Apr 6, 2019

This is a secret of realmjs and they maintainers dont care about it

1reaction
zgavincommented, Apr 7, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to find module for EventDispatcher React Native
Stop remote JS debugging and then reload the app. It will give you the appropriate error message, most likely missing some render on...
Read more >
[iOS] Unable to find module for EventDispatcher React Native
I am getting the following in my developer console after installing Realm on React Native: Invalidating (parent: , executor: (null)) Then ...
Read more >
Developers - [iOs] [remote debugging] Unable to find module ...
[iOs] [remote debugging] Unable to find module for EventDispatcher React Native · Goals. I'm trying to code normally. I just installed realm, it ......
Read more >
Unable to find module for EventDispatcher React Native ...
Coding example for the question Unable to find module for EventDispatcher React Native-React Native.
Read more >
开发工具 - 超级架构师
Bit - Create, maintain, find and use small modules and components across ... PonyDebugger - Remote network and data debugging for your native...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found