-
Notifications
You must be signed in to change notification settings - Fork 24.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
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication) #29564
Comments
|
I got the same error today and after I run npm start or expo start again on my folder it worked.I hope it will work at you too! |
Tried it multiple times but it does not work :( React-Native Info
|
|
|
:-( oh no, it is my mistake.....when my react native project launches, it needs to import some native files. These definitions wrote in file "app.js" like this: and i suddenly found that there are no files named 'exampleFile1' or 'exampleFile2'..... I also have this problem. and this is the result i ran the command "react-native info": System: failed to install the package "@react-native-community/cli: " and " react-native-macos". |
I get the same error, (react-native version 0.63.2) |
I also had same issue. However, I updated |
Getting the same error right here.. react-native 0.63.2 |
worked for me, tested on both react-native version 0.63.2/3 |
|
I also have the same error here on RN 0.63.3.. |
I was having the same error. But this message was also displayed: I've managed to trace it back to this in my Redux Store: (window as any).__REDUX_DEVTOOLS_EXTENSION__ &&
(window as any).__REDUX_DEVTOOLS_EXTENSION__(), After removing this, It worked again in my case. I'm guessing this happens when some exception is thrown early on app loading. |
I was just having same error. In my case the error was related to node version. |
Also worked for me! |
@evalenzuela I just updated my node and am now getting this issue. Can you explain what you did to resolve? And what version of node you were on? |
In my case, after a git commit cause the error, then I found the wrong code in the commit is:
where the NativeModule is null because I have not implemented it on iOS 😝 When I edit it to
then the error |
This definitely seems to be caused by developer error. In my case, a misspelled variable name in one of the util functions I was calling was the cause of the error. Unfortunately, the error message doesn't say much and doesn't point to a particular place in the code. In my case, I pretty much spent the entire day troubleshooting so the whole day was wasted. My suggestion to the next person who's having this issue is to stop complaining and pointing fingers and start looking at your code very very very carefully. |
It works for me! tks |
did you find solution? |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
This issue was closed because the author hasn't provided the requested feedback after 7 days. |
I have started getting this error Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication) since yesterday, my application was working and all of sudden it broke.
Google for hours most of them asked to - Delete your yarn.lock/package-json.lock file and run yarn/npm install. Then try clearing cache with npx react-native start --reset-cache but none of iit worked.
Tried deleting re-building the app but it fails with the same error
index.js
package.json
The text was updated successfully, but these errors were encountered: