Closed mmafrar closed 3 years ago
this was the solution for me https://stackoverflow.com/a/60755519/1557613
Hard refresh of the debugger window also worked for me (cmd + shift + r)
Just try all the ways I found still failed, the easiest one for me is to clone the repository, install and build again.
this was the solution for me https://stackoverflow.com/a/60755519/1557613
Hard refresh of the debugger window also worked for me (cmd + shift + r)
yeah but I noticed we have to redo this if we restart our machines.
This still happens to me. Tried all the solutions: https://stackoverflow.com/a/60755519/1557613 https://github.com/react-native-community/cli/issues/1081#issuecomment-614223917 https://github.com/react-native-community/cli/issues/1081#issuecomment-609648148 https://github.com/facebook/react-native/issues/28531#issuecomment-617101194
I'm getting this on RN 0.61.4, expo 37.0.12. Using yarn workspaces, not sure if that's relevant.
Here as well. Bare expo project w/
this was the solution for me https://stackoverflow.com/a/60755519/1557613
Hard refresh of the debugger window also worked for me (cmd + shift + r)
This worked for me too!
I tried all the solutions suggested here and nothing worked for me, still the exact same error.
Is there an alternative to that remote debugger?
After deleting my cache and reloading chrome it didn't help, I even tried to restart my pc and nothing of course. But then today it started working again without me doing anything. Really strange
@timhagn solution of setting the resolutions to RN debugger CLI version 4.7.0 and installing that specific version worked for me. I'm using RN v0.62.2. I also reset the cache after npm install and before re-running with npx.
If it helps someone, I have noticed that this error appears also after changing something in package.json such as the app version and not use npm install command before running. If I ran install after changing the version property, the package-lock.json probably changed and the debugger worked again.
I didn't expect that the version would affect the debugger, since without Debugging on, the application still works. Guess it's best to always run the install command after changing something in package.json, even for options unrelated to packages.
None of these solutions worked for me, but the note about onPress
being time-sensitive lead me to the right result:
https://github.com/facebook/react-native/issues/28531#issuecomment-640342824
I got same the issue. when I open the debugger in the console I am getting this error. I spent more to debug this error.
Solution I used resolutions in the package.json.
"resolutions": {
"@react-native-community/cli-debugger-ui": "4.7.0"
},
then I deleted package-lock.json and node_modules.
then I reinstalled node modules, synced with the android studio.
clean the project.
Finally, used react-native run-android
Having the same issue after upgrading to Expo SDK 38 and RN 0.62. None of the suggested fixes have worked.
I have the same problem, no expo, but RN 0.62.2, none of the fixes worked. Since the error lies in the cli-debugger, probably, the App still runs when started with android studio, so maybe that might help a few people continue development?
For expo users, I think you accidently turned on Live Debugging in Expo, Just clear Expo's Cache and Data from your Phone, and everything will be back to normal.
For expo users, I think you accidently turned on Live Debugging in Expo, Just clear Expo's Cache and Data from your Phone, and everything will be back to normal.
@chandan1602
I tried uninstalling the app on the simulator and reinstalling. That didnt help. Is there another way to clear cache and data from the expo app?
For expo users, I think you accidently turned on Live Debugging in Expo, Just clear Expo's Cache and Data from your Phone, and everything will be back to normal.
@chandan1602
I tried uninstalling the app on the simulator and reinstalling. That didnt help. Is there another way to clear cache and data from the expo app?
Do you get the same error now, my method was plain and simple, i just opened the app info, and from there i cleared the app cache and data, also i ran expo r -c and collectively that worked for me
Unfortunately none of the above solutions work for me 😢
After updating to RN 63.0, I still get the error, but the app compiles nonetheless and is debuggable.
I was getting this error => Error: Unable to resolve module `./debugger-ui/debuggerWorker.d9da4ed7` from ``:
I am able to solve this by doing Ctrl+C
to stop bundle and running npm start again
this is just retarded. spending 1 hour to try and debug this app...
For some reason what worked for me was to use my IP like 192.168.31.91:8081/debugger-ui instead of the default localhost:8081/debugger-ui
Running "empty cache and hard reload" on the debugger page in Chrome as mentioned here fixes the issue for me.
After struggling with this issue for a long time i tried a combination of methods which I have found in this topic and expo forum, and it works for me!
I did what notbrent described in this post , and in package.json add this line ( yep, in 3.0.0 version)
"resolutions": { "@react-native-community/cli-debugger-ui": "3.0.0" },
delete this:
"plugins": [ "@babel/plugin-proposal-class-properties" ]
Hope it will help somebody
And after few days it just stop working.
Now I don't have any error message. I just can't touch anything.
My god, how shitty it is...
Same Error. RN version: 0.63.2
above solutions no work for me....
I added "resolutions" but it didn't help.
"resolutions": {
"@react-native-community/cli-debugger-ui": "4.7.0"
},
After that I did "yarn add react-devtools-core" and the error went away.
Been 2 days and still havent found the fix on this
Still no fix for this? Should we go flutter now?
Still no fix for this? Should we go flutter now?
On my side the issue cause by react-native-reanimated@2, I removed it and the issue disappear. maybe try to check your libs
Still no fix for this? Should we go flutter now?
On my side the issue cause by react-native-reanimated@2, I removed it and the issue disappear. maybe try to check your libs
How to know what's causing the issue from the libraries tho
Still no fix for this? Should we go flutter now?
On my side the issue cause by react-native-reanimated@2, I removed it and the issue disappear. maybe try to check your libs
How to know what's causing the issue from the libraries tho
It's not only about libraries. I tried to start new project on new machine and it sometimes works, sometimes not...
this is such a mess, does anyone actually have a fix?
I tried to delete the build in android/app/build folder and the node_modules folder, on the terminal I launched npm install && npm cache clean --force, then navigated to the android folder and ran ./gradlew installDebug checked syntax errors when importing libraries and two of them were missing the braces {} between the variable name, just so it worked, try to observe if the libraries are compatible with the versions of another library, I believe it is a bug between the version of react and the requested libraries
For expo users, I think you accidently turned on Live Debugging in Expo, Just clear Expo's Cache and Data from your Phone, and everything will be back to normal.
Thank you so much!!! saved my project
Mac OS Catalina Android Emulator "react-native": "0.63.2"
I've tried to clear the cache and reinstalling node modules, none of that works for me. Reinstalling the app in the emulator seems to do the trick.
Hope it helps!
Does anyone have a fix for this yet?
have the same problem' non of the above helps.
specific Error
Error: Unable to resolve module ./debugger-ui/ui.bcd3f9d1.js
from ``:
None of these files exist:
Same problem on Windows 10 with RN 0.62.2
If someones having the problem still, try using react-navigation v4. I had v5 and downgraded it to v4 and it worked.
In expo app, I resolve by install react-native-debugger-open
yarn add -D react-native-debugger-open
And add this script to package.json, use yarn debug
to start expo dev server.
"debug": "REACT_DEBUGGER=\"rndebugger-open --open --expo\" expo start"
With --expo
flag, react-native-debugger-open auto use expo's correct port.
Turn on Debug Remote JS in expo app, react-native-debugger will auto launch, and redux-devtools is work.
I use in expo 39 and react-native-debugger installed.
Both redux-devtools-extension
and window.__REDUX_DEVTOOLS_EXTENSION__
are work.
faced the same and solved by just restarting the bundler with --reset-cache
.
yarn start --reset-cache
I encountered the same issue, so far I've been working only with the iOS simulator
RN version:
"react": "16.13.1",
"react-native": "0.63.3",
what worked for me was removing the app from the simulator and installing it again
This problem I resolved by stoping debugging remote JS in expo app.
if you want to get a proper fix for this, if you're using react-native 0.63 (or expo sdk 39+) then delete your node_modules and lockfile (yarn.lock or package-lock.json) and run yarn/npm install again. this will pull in the latest version of @react-native-community/cli that includes a fix
if you want to get a proper fix for this, if you're using react-native 0.63 (or expo sdk 39+) then delete your node_modules and lockfile (yarn.lock or package-lock.json) and run yarn/npm install again. this will pull in the latest version of @react-native-community/cli that includes a fix
Tried that. Didn't help.
https://github.com/facebook/react-native/issues/28844#issuecomment-730535093
sorry i'm not sure what your issue might be. could you try to investigate the root cause and report back?
No idea either...
Environment
System: OS: macOS High Sierra 10.13.6 CPU: (4) x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz Memory: 2.28 GB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 13.7.0 - /usr/local/bin/node Yarn: Not Found npm: 6.13.6 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1 Android SDK: Not Found IDEs: Android Studio: Not Found Xcode: 10.1/10B61 - /usr/bin/xcodebuild Languages: Python: 2.7.10 - /usr/bin/python npmPackages: @react-native-community/cli: Not Found react: ^16.11.0 => 16.11.0 react-native: ^0.62.0 => 0.62.0 npmGlobalPackages: react-native: Not Found
Description
Hi there! I'm a React Native newbie working on an interesting side project. Recently I updated project's @react-native-community/cli-debugger-ui version to 4.2.1 and had to come across below issue. Tried several workarounds, nothing worked. Reverting back @react-native-community/cli-debugger-ui version to 3.0.0 resolved the issue.
Error: Unable to resolve module
./debugger-ui/ui.cc464243.js
from ``:None of these files exist:
Reproducible Demo