-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Cannot read property 'code' of undefined #35514
Comments
Should now be resolved 9c75871. |
Let's hold off on cherry-picking this, the root cause of the issue is that Metro is out-of-date, which is already being resolved. |
Do we need to revert 9c75871 then? |
Yes, I think we should. I left a comment on the diff internally. |
@tomekzaw can you try RC4 and let us know if this is fixed now? |
Hey @kelset, I can confirm it is fixed on 0.71.0-rc.4, thanks! ✅ However, I noticed that the warning message about lost connection to Metro differs a bit between Android ("Try the following") and iOS ("1001: Stream end encountered"), is this expected? |
I believe this is expected as these are independently defined messages for distinct WebSocket events (defined here and here). However, perhaps we can address this papercut by adding the similar help output on restarting Metro for the |
Summary: Resolves [comment on #35514](#35514 (comment)). Changelog: [Internal] Reviewed By: arushikesarwani94 Differential Revision: D42166587 fbshipit-source-id: bb9a28874727e7df45a73d86a876b3d6febe70da
Summary: Resolves [comment on facebook#35514](facebook#35514 (comment)). Changelog: [Internal] Reviewed By: arushikesarwani94 Differential Revision: D42166587 fbshipit-source-id: bb9a28874727e7df45a73d86a876b3d6febe70da
Description
When you turn off Metro bundler while the app is running, two toasts appear:
The warning is expected but the error is not.
The issue can be reproduced on a fresh RN 0.71.0-rc.2 app.
Version
0.71.0-rc.2
Output of
npx react-native info
Steps to reproduce
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: