react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)

Open ameenmattar opened this issue 2 years ago • 2 comments

React Native Debugger app version: "0.13.0" React Native version: "0.65.3" Platform: [ iOS] Is real device of platform: [No] Operating System: [ macOS]

I am running my react-native app with react-native debugger and getting this error:

Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.

Note: If I run my app using the default debugger on chrome or safari, it runs perfectly.

Screenshot 2023-07-08 at 6 44 18 PM Screenshot 2023-07-08 at 6 44 25 PM

ameenmattar avatar Jul 08 '23 15:07 ameenmattar

Same error happens to me, but only when I import my native module. If I comment the import, debugger works. Works fine in Chrome, and fails with the debugger

React Native Debugger app version: "0.14.0" React Native version: "0.72.3" Platform: [ iOS, Android] Is real device of platform: [No] Operating System: [ macOS]

Screenshot 2023-08-07 at 03 21 51

AndriyZahura avatar Aug 07 '23 10:08 AndriyZahura

Hi @ameenmattar, @AndriyZahura I'm also facing same issue since yesterday, were you able to solve?

React Native Debugger app version: "0.14.0" React Native version: "0.67.5" Platform: [iOS] Is real device of platform: [No] Operating System: [ macOS]

vikassharma96 avatar Jun 19 '24 02:06 vikassharma96