-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Can't fetch the source map while using the experimental debugger #46283
Comments
|
|
|
|
Please update to 0.76.x and try React Native DevTools over there. We don't offer support for the experimental debugger for previous versions of React Native. |
OK let me try that (it might take some time to upgrade RN because it's a huge project but I'll try to get back to you ASAP) |
Description
I'm trying to use the new experimental debugger in our RN project, but in the DevTool window it says this:
and can't fetch the source map, thus no source code is shown.
Here're some interesting I've found:
wget
andcurl
, but I got this when I open it in Chrome:Screen.Recording.2024-08-30.at.11.55.01.AM.mov
The "content download" always gets killed after around 3.5s, and then it becomes "Aw Snap!"
My assumption is that because our source map is so big, Chrome isn't able to download it within a time limit (so the download is always canceled after 3.5s) but I have no idea of how to verify that. Not sure if this is a Chrome bug or RN bug but I'll post it here anyway.
Steps to reproduce
Just launch the experimental debugger on some huge app with ~200MB source map, I guess?
React Native Version
0.73.6
Affected Platforms
Build - MacOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
I really don't know how to reproduce this on smaller projects
Screenshots and Videos
Included some in the description.
The text was updated successfully, but these errors were encountered: