react-native icon indicating copy to clipboard operation
react-native copied to clipboard

[Ubuntu] An unknown error occurred while installing React Native DevTools

Open birdofpreyru opened this issue 4 weeks ago • 1 comments

Description

After migration of an existing RN app (no framework) to [email protected] I get this when yarn start on Ubuntu build host:

Image

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

birdofpreyru avatar Dec 16 '25 21:12 birdofpreyru

[!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:


You can read more about about it on our website: How to report a bug.

react-native-bot avatar Dec 16 '25 21:12 react-native-bot

cc @huntie

cortinico avatar Dec 29 '25 10:12 cortinico

@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.

huntie avatar Jan 02 '26 16:01 huntie

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.

birdofpreyru avatar Jan 02 '26 19:01 birdofpreyru