-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to resolve module ./debugger-ui/ui.cc464243.js
from ``
#1081
Comments
Had the same problem, please help! |
I followed the steps and couldn't reproduce this issue. Initializing the new |
@Esemesek you need to have the Debug mode turned on. While remote debugger runs on web browser above error message appears on Metro Bundler console. I will attached the both versions of package-lock.json file. You can get a diff, the change caused the issue. Let me know if you need any further details from me. |
Obviously, I was testing with the debugger on. I was able to reproduce your issues upon applying diff you provided. I was able to fix this issue by starting the debugger with |
I'm using |
You should be able to use flag even if you use |
I ran Will it be possible for you to list the commands I need to execute? So that I can do a retry. |
This comment has been minimized.
This comment has been minimized.
I completely reboot my OS mojave, and from the first start I have this issue!!! Please help! None of these files exist: debugger-ui/ui.cc464243.js(.native|.native.js|.js|.native.json|.json|.native.ts|.ts|.native.tsx|.tsx) |
@VitaliyGaliy Got this issue and manage to fix it by deleting |
I didn use yarn this time. Just npm install from the first start on the new OS. |
So, you should try delete |
No difference, it happens even with a new created react native app MAP ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)Error: Unable to resolve module None of these files exist:
|
Do they exist though? Running |
@Esemesek According to a friend who has done React Native development couple of years, this might be caused to due to React Native core not being upgraded properly. |
I also have the issue. Even starting from scratch with I have the same message But the file does exist in |
@boulgom I also experienced the same issue as you have explained above and decided to revert back from |
I'm experiencing a similar issue after upgrading from react-native
It's reproducible in an existing project and a new project from template, but it only occurs on a physical device. In the simulator, debug mode works fine. Even with one packager instance running, the simulator will behave correctly and the physical device experiences the issue.
|
@jessecureton if the app was already installed on the device before making the change, have you tried deleting it and installing it again with the latest changes? |
Yes, this occurs for me in both an existing project updated to I filed a more thorough report here, since the on-device error leads me to believe its react-native related more than it is debugger related. |
I'm experiencing this issue on both 0.62.0 and 0.62.2
None of the above-mentioned methods have worked. Disabling debugging makes simulator load bundle, but only a white screen is displayed until Bundle location is changed to |
Solved it for me in two ways: First I simply removed the
Now, after deleting Hope it helps anyone! Best, Tim. |
I tried doing as @timhagn said, but for me, this hasn't fixed anything..... It still throws the same error The Only difference being that it does that after, not before it creates bundle and map. |
hi, i have try using but still disable ability touchable, ex: onPress is not working, but if not in debug mode, it working normaly |
Hi @tamacroft, sad to read, that the And in my experience the
should sync device times, again. For physical devices deactivating automatic time often helped. |
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 |
Tried that. Didn't help. |
sorry i'm not sure what your issue might be. could you try to investigate the root cause and report back? |
No idea either... |
sigh, this is depressing |
Thank you @CacaoRick That fixed it for me |
its been bloddy 9 months and no solution yet?! wtf! |
suddenly started having this issue too. stuck for hours now |
@lordival try to run |
Faced the same issue when I tried to open "Debug" menu:
|
I tried a couple different methods mentioned here, but the thing that finally fixed it for me was: Reset the repo (remove all untracked, and ignored files etc.) and yarn cache:
Then cleaning xcode build datas:
Fresh install:
And finally running the bundler:
|
For me I see this error repeatedly in the metro bundler output, which is a bit annoying, but it doesn't affect my ability to debug the app in any way, as it loads the bundle index afterwards anyway. |
I tried to fix the issues by patching |
Still no progress in this? We are nearly in April... Really sad for a production framework. |
I wouldn't expect progress on a ticket that's been closed. If it's still an issue I'd suggest raising a new ticket, ideally with reproduction steps or getting this ticket reopened. |
In my case, previously I did a change on AppDelegate.m, because of a problem with Flipper on physical devices, as described here 28419. I just take off the 'TARGET_OS_SIMULATOR' condition, and now I can debug normally. The problem cause: Now working: |
Solved it by uninstalling the app on the emulator / device then build the app again. |
None of the above mentioned solutions fixes. It was working fine for me and suddenly as soon as I try to connect to debugger the app crashes. No errors in metro or anywhere else. Tried reinstalling packages, cache clean and other nonsense bazilion times with no luck. Any maintainers want to actually look into this or we going to drag this issue for months? |
I have the same problem, even for a brand new project (clean), through Could it be related to "Expo", as I was not using it before and 2 days ago I decided to create a sample app with Expo. I installed its CLI etc. Could it interfere somehow? |
I think the main problem lies here -> #1304 |
--reset-cache and manually uninstalling app from emulator worked for me. |
Thanks, that fixed the issue on our side with Android physical device! We used the "dependencies": {
. . .
},
"devDependencies": {
. . .
},
"overrides": {
"@react-native-community/cli-debugger-ui": "8.0.0"
}
|
lol thanks a lot @DerekPark |
(MacOs 13.3.1 - M1) Work for me, thanks bro |
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:
at ModuleResolver.resolveDependency (DIR/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:163:15)
at ResolutionRequest.resolveDependency (DIR/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:52:18)
at DependencyGraph.resolveDependency (DIR/node_modules/metro/src/node-haste/DependencyGraph.js:287:16)
at DIR/node_modules/metro/src/lib/transformHelpers.js:267:42
at Server. (DIR/node_modules/metro/src/Server.js:841:41)
at Generator.next ()
at asyncGeneratorStep (DIR/node_modules/metro/src/Server.js:99:24)
at _next (DIR/node_modules/metro/src/Server.js:119:9)
Reproducible Demo
The text was updated successfully, but these errors were encountered: