[Feature] Expo Go download and installation errors hide the underlying failure details

未关闭 适合新手
#3,030 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
react-native, typescript, vscode
领域
devtools, testing

调研方向

找到命令“Download and install Expo Go on simulator or device”中 Android 和 iOS 的下载及安装错误处理,然后阅读现有 NestedError 机制的用法。为两个平台上的下载失败和安装失败添加回归测试;完成标准是带有上下文的错误保留原始异常,并显示其消息以便排查问题。

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

描述

enhancement

Problem

The “Download and install Expo Go on simulator or device” command replaces
download and installation exceptions with generic messages:

  • “Failed to download Expo Go.”
  • “Failed to install Expo Go.”

The original exception is discarded in both the Android and iOS flows.
This hides details needed to diagnose failures, such as network errors,
permission issues, insufficient disk space, or ADB/simulator errors.

Steps to reproduce

  1. Run the “Download and install Expo Go on simulator or device” command
    in an Expo-managed project.
  2. Select Android or iOS.
  3. Trigger a download failure, or select Auto and trigger an installation failure.
  4. Inspect the reported error.

Actual behavior

The command reports a generic failure message without preserving the
underlying exception.

Expected behavior

Keep the contextual download/installation failure message while preserving
the original exception and making its details available for troubleshooting.

Suggested solution

Use the existing NestedError mechanism to retain the original exception
as innerError and include its message in the contextual error.
Add regression tests for download and installation failures on both platforms.

主要语言
TypeScript
星标
2.7k
派生
303
平均合并
19 小时 16 分钟
30 天内合并 PR
29

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

microsoft/vscode-react-native 的其他 Issue

查看 microsoft/vscode-react-native 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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