[Ubuntu] An unknown error occurred while installing React Native DevTools
Description
After migration of an existing RN app (no framework) to [email protected] I get this when yarn start on Ubuntu build host:
Not a hard error though — the app installs, the Metro service serves the bundle, and DevTools open and seemingly work.
Tried to change the ownership, file mode of the folder... does not seem ho help.
No such issue when building the same app on macOS build host.
Steps to reproduce
Above.
React Native Version
0.83.0
Output of npx @react-native-community/cli info
N/A
Screenshots and Videos
No response
[!WARNING] Missing reproducer: We could not detect a reproducible example in your issue report. Reproducers are mandatory and we can accept only one of those as a valid reproducer:
- For majority of bugs: send us a Pull Request with the RNTesterPlayground.js edited to reproduce your bug.
- If your bug is UI related: a Snack
- If your bug is build/upgrade related: a project using our Reproducer Template
You can read more about about it on our website: How to report a bug.
cc @huntie
@birdofpreyru Yup, you're right in spotting that this isn't a hard error.
This error happens during a preparation step when we attempt to eagerly install the RNDT desktop app. If this step fails (which it seems to have), we'll fall back to the previous browser launch flow (which I expect you are getting). No other impact on the dev server. (Maybe we could clarify this message to sound less scary!)
We usually expect this error to show in rare cases such as a download being blocked by a corp firewall. In this case however, there some configuration issue with your Ubuntu install.
We do support Linux, so I'm curious if you could share more info about your system setup, that can help us improve this.
I'm curious if you could share more info about your system setup, that can help us improve this.
@huntie I have a very boring system setup, pretty much the default Ubuntu 24.04.3 installation (to be exact, I first installed Ubuntu 22 without any customization of default options I can think of, then over time it upgraded to 24). No firewall.