gwalshington
gwalshington

Reputation: 1505

Unable to find module for DevMenu - after upgrading to Expo 44

I'm going crazy - when I launch the app on a real device, I'm getting Unable to find module for DevMenu and the whole app is frozen on the splashscreen. I have seen this which alludes that if I turn off remote debugging, it could fix it, but the app is completely unresponsive, so when I shake it, the Expo options don't show up.

When I launch it on a simulator, I see the error, but it's not fatal. Again, I can not seem to open the Expo menu anymore on the simulator to test if it is the remote debugger causing the issue. But the app runs fine on the simulator, other than that.

What is the error Unable to find module for DevMenu and how can I fix it?

Real device: enter image description here

Simulator logs: enter image description here

Upvotes: 3

Views: 2311

Answers (1)

Santo R
Santo R

Reputation: 49

I had the same problem. What solved it was to install expo-dev-menu :

npm i expo-dev-menu

And importing it in my App.js.

import 'expo-dev-menu';

Hope it helps!

Upvotes: 4

Related Questions