When I am trying to run my app through Expo QR code or “npm run ios” command line (tried with all available option to run ios build), I am getting an error saying “Unable to find the module for DevMenu”.
Also tried with expo eject.
I think the error occurred because I upgraded a bare app from SDK36 → SDK37.
Un-ejecting and re-ejecting while already upgraded to SDK37 fixed the issue for me.
I’m guessing un-ejecting and re-ejecting would be the smoothest way to upgrade expo SDKs. I’m just starting to work with expo again and it seems to me like that’s the fastest and easiest way to avoid any random errors.
It almost happens after every reload, tired of it. I enabled “remote debugging” and also receiving “Runtime is not ready for debugging” after this error.
Also running into this issue. Disabling and re-enabling debugger doesn’t work, using Chrome or React Native Debugger still has the issue pop up. It renders the app unresponsive. Only fix is to close and restart sim.
I have also tried “Erase all content & settings” and using a different sim device.
if this is happening in an ejected/bare react-native app it seems like this is likely to be an upstream react-native issue, you could look on the react-native github issues to see if others have had similar problems. i haven’t encountered it personally
I did disable the remote JS debugger on Chrome and turned it back on, but it did not work. I kinda got annoyed with myself wasting whole day without progress so I went have a cup of warm milk and screamed for a few seconds at the balcony. When I came back I somehow found a workaround - instead of debugging on Chrome, if you use the application of React Native Debugger, the app starts functioning as normal.
And then I closed the application and come back to use the debugger on Chrome again. I got the same error with frustration, and then I hopelessly refreshed the app again. Somehow all started working from there.
Since then, I still occasionally got the same error. When this happens, what I need to do to get it back to function is to turn off expo, then restart expo, and finally relaunched the app in the simulator.
Hope this is helpful in any way. If anybody could have a more well-rounded solution to this issue, I would love to learn it!
App works on simulator when not debugging, but when I enable remote debugging, React Native Debugger launches as expected, but the app hangs at 100% for a few seconds, followed by a red banner: Unable to find module for DevMenu, followed a few second later by a new red banner: Runtime is not ready for debugging...
Oddly, when I remove the REACT_DEBUGGER env variable, the chrome debugger does run successfully EDIT: False alarm. Worked once, then on next refresh I get the same errors.
EDIT: I have tried erasing content and settings on simulator, clearing node_modules and yarn.lock, and started with expo start -c with same results.