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.

"Module AppRegistry is not a registered callable module" with remote debugging

See original GitHub issue

When 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:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:32 (8 by maintainers)

github_iconTop GitHub Comments

11reactions
Damnumcommented, Jun 27, 2017

Same issue here.

6reactions
paldepindcommented, Apr 2, 2018

@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.

Read more comments on GitHub >

github_iconTop 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 >

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