jhen0409 / react-native-debugger

The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
MIT License
10.36k stars 809 forks source link

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

Open ameenmattar opened 1 year ago

ameenmattar commented 1 year ago

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
AndriyZahura commented 1 year ago

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
vikassharma96 commented 3 months ago

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]