-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module HMRClient is not a registered callable module (calling enable) #916
Comments
I am getting this issue for published builds after going to SDK 22 and reverting back to 21, still get it. |
Hi, HMR works for me if I download the Expo SDK 22 tabs template, enable HMR, and start changing things. The changes are reflected in my simulator/device as expected. Is it possible for you to provide a repro project? |
@terribleben I am no longer having this issue |
@orloffmarket what's the URL you published to? I'm surprised HMR is ending up in your production bundle. |
no you are correct, my issue is Module AppRegistry is not a registered callable |
@orloffmarket could you open a separate issue if you're still having this problem? Thanks! |
My issue is resolved, it was due to SDK 22 updates and not related to this. Thanks |
just add in index.ios.js |
@Irosshipaz you can run your code locally the same way it happens when published by turning dev mode off. You should be able to reproduce the problem there, and you can look into version mismatches or other potential causes. |
facing this issue when running my android project... |
"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. |
any solution to this? |
It works fine for me after enabling "hot reloading" can try the same. |
Is there any solution to solve this issue? Anyone please help me. Thank you in advance. |
|
I'm having the same issue when running my app on my iPhone with development mode off. I tried removing my node_modules component many times, I cleaned the yarn cache and reload watchman. Nothing worked. EDIT: I just tested on the iOS simulator and the problem does not occur. My package.json file is as follow:
|
Any Idea @brentvatne ? |
Just open "Dev Settings" in your app and set "JS Dev Mode to true". It works for me. |
I closed the message and my application works normally, and I disabled hot reloading, and the message did not appear again |
cd android && ./gradlew clean |
This error happen when I try runnng expo in dev mode So if you need development mode back. |
@Demuzx It worked. Thank you |
open "Dev setting" and reset "JS Dev Mode" is true,it works. if you use react-native cli |
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 was happening with me if I enable hot reloading/live reloading. Just disabled it and error does not occur. |
Disable hot reloading, it will work fine |
rm -rf .expo |
I was having the same problem and solved it by stopping the npm packager, deleting the Expo app from the iPhone simulator and running the packager again on the simulator (which made it install the latest version of the Expo app). |
This has a simple solution. Just uninstall the current app from device and install again. |
I have started getting this error when I start a published app or run the app in production mode locally. Haven't seen this before, but I recently upgraded a few npm packages so I'm suspecting it might have something to do with that. |
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.Workaround: After toggling remote debugging, the issue seems to go away and hot reloading seems to work just fine.
The text was updated successfully, but these errors were encountered: