react / react/react-native

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

未关闭
#54,906 7 条评论 10 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Debugging Needs: Attention Needs: Repro
主要语言
C++
星标
127k
派生
25.3k
平均合并
1 天 23 小时
30 天内合并 PR
4

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在使用 React Native 0.83.0 的 Ubuntu 构建主机上通过 yarn start 重现该问题,然后检查 DevTools 的安装路径以及截图中显示的错误。将其行为与报告中的 macOS 构建进行比较,并验证 DevTools 安装时不会出现未知错误消息,同时 Metro 服务和应用仍保持正常运行。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native
领域
mobile, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。