expo: Module HMRClient is not a registered callable module (calling enable)

After upgrading to Expo SDK 22.0.0 per the blog post, I run into this error while running the app in the simulator with hot reloading enabled. I use yarn and ran yarn cache clean prior to starting the server. screen shot 2017-11-04 at 12 25 52 pm

Workaround: After toggling remote debugging, the issue seems to go away and hot reloading seems to work just fine.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 32 (7 by maintainers)

Most upvoted comments

Just open “Dev Settings” in your app and set “JS Dev Mode to true”. It works for me.

If you got this error when trying to test with expo metro bundler in “production mode”, switch back to dev mode and turn off hot reloading and live reload. Then try again in production mode and it should work fine.

It works fine for me after enabling “hot reloading” can try the same.

I’m facing this problem right now, only on iOS, just after publish an application. Don’t know what’s happening. asd

I closed the message and my application works normally, and I disabled hot reloading, and the message did not appear again

This has a simple solution. Just uninstall the current app from device and install again.

open “Dev setting” and reset “JS Dev Mode” is true,it works.

if you use react-native cli the solution is: cd android ./gradlew clean

just add in index.ios.js var RCTLog = require(‘RCTLog’);

rm -rf .expo restart package and resolved

“X is not a registered callable module” happens when the native side of React Native tries to invoke a method of a JS module that hasn’t been loaded. One reason this can happen is if your bundle fails to load e.g. because of a syntax error in it, or a JS error that happens early on during module initialization. This is something that tends to be different to each specific project and debugged individually.