Reputation: 13372
I keep my project(s) relatively up to date with the latest RN releases. This error seems to be coming up more and more lately.
Error: Unable to resolve module `./debugger-ui/debuggerWorker.d9da4ed7` from ``:
None of these files exist:
* debugger-ui/debuggerWorker.d9da4ed7(.native|.native.js|.js|.native.json|.json|.native.ts|.ts|.native.tsx|.tsx)
Really makes it hard when trying to debug issues and a debugger statement does noting and errors are not reported to the browser tab where the console output goes.
I've already tried wiping node_modules
. Is this a known issue with a concrete fix available?
Upvotes: 28
Views: 23386
Reputation: 72
Happens to me recently using expo and android. The solution was to clear all Expo Go data:
Upvotes: 0
Reputation: 96
I closed the app (pressing home twice and swiping up), then started it again from the simulator and it worked.
Upvotes: 0
Reputation: 371
I had to come across a similar issue after updating @react-native-community/cli-debugger-ui to 4.2.1. Tried out several methods, nothing worked. Reverting @react-native-community/cli-debugger-ui back to 3.0.0 resolved the issue for me.
Upvotes: 4
Reputation: 788
Got stuck with this exact issue for hours. Just found that this occurs only on device where app is already installed with debug mode enabled.
I fixed it by:
Enabling debug mode after that works normally.
Upvotes: 34