react / react/react-native

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

Open
#54,906 7 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Debugging Needs: Attention Needs: Repro
Dominant language
C++
Stars
127k
Forks
25.3k
Avg merge
1d 23h
Merged PRs (30d)
4

Description

Description

After migration of an existing RN app (no framework) to RN@0.83.0 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with yarn start on an Ubuntu build host using React Native 0.83.0, then inspect the DevTools installation path and the error shown in the screenshot. Compare the behavior with the reported macOS build and verify that DevTools installs without the unknown-error message while the Metro service and app remain functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.