"Module AppRegistry is not a registered callable module" with remote debugging
See original GitHub issueWhen I include Realm in my project and use remote JS debugging I see the following error on the phone: “Module AppRegistry is not a registered callable module”. And the Chrome log shows:
POST http://10.8.239.5:8082/create_session net::ERR_CONNECTION_REFUSED
10.141.19.252:8082/create_session:1 POST http://10.141.19.252:8082/create_session net::ERR_CONNECTION_REFUSED
DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://10.141.19.252:8082/create_session'.(…)
Realm failed to connect to the embedded debug server inside the app. If attempting to use Chrome debugging from a device, ensure the device is reachable on the same network as this machine.
Module AppRegistry is not a registered callable module.
It seems odd that the errors mention port 8082 since my local dev server is running on port 8082.
This is likely related to #465. The last comment in that thread mentions that remote debugging may not work at all. If that is the case then it would be really helpful if that was mentioned somewhere in the documentation.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:32 (8 by maintainers)
Top Results From Across the Web
React-Native: Module AppRegistry is not a registered callable ...
A typical reason I get this error is when I import badly a component (like with the wrong name). Same if I export...
Read more >React Native remote debugging does not work with Babylon ...
Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable.
Read more >React-Native: Module AppRegistry is not a registered callable ...
Android : React-Native: Module AppRegistry is not a registered callable module [ Beautify Your Computer ...
Read more >Module Rctlog Is Not A Registered Callable Module ... - ADocLib
Invariant Violation: Module RCTLog is not a registered callable module calling logIfNoNativeHook. It only occur on remote debugging mode if you disable.
Read more >jhabdas/react-native-webpack-starter-kit - Gitter
"Module AppRegistry is not a registered callable module" ... i be using a native module (im a javascript dev mind you, no experience...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue here.
@brithbutter I don’t think so. We had so many problems with Realm on React Native (this one, in particular, performance, etc) that we moved to react-native-sqlite-storage. We have been happy ever since.