Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

getting error Process 'command 'cmd'' finished with non-zero exit value 1 after yarn e2e:android

未关闭
#6 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
android, javascript, react-native

调研方向

首先在报告的 Windows 环境中使用 yarn e2e:android 重现失败,并检查 :app:bundleDebugJsAndAssets 任务的输出。追踪该命令为何以代码 1 退出,然后验证 Android 应用是否能安装到模拟器中并成功进行测试。

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

描述

Summary

getting error after using yarn e2e:android:

Task :app:bundleDebugJsAndAssets FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:bundleDebugJsAndAssets'.

Process 'command 'cmd'' finished with non-zero exit value 1

Environment info

System:
OS: Windows 10 10.0.19041
CPU: (8) x64 Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz
Memory: 6.71 GB / 15.91 GB
Binaries:
Node: 12.18.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
SDKs:
Android SDK:
API Levels: 23, 28, 29
Build Tools: 28.0.3, 29.0.2, 30.0.2
System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom_64
Android NDK: 21.3.6528147
IDEs:
Android Studio: Version 4.0.0.0 AI-193.6911.18.40.6626763
npmPackages:
react: 16.9.0 => 16.9.0
react-native: callstack/react-native#feat/bundle-id-for-multibundle => 1000.0.0
npmGlobalPackages:
react-native-cli: 2.0.1

Steps to reproduce

  1. just run yarn e2e:android

Describe what you expected to happen:

  1. i expected that app will be installed in my emulater and i can test it
主要语言
JavaScript
星标
59
派生
3
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

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

callstack/react-native-multibundle 的其他 Issue

查看 callstack/react-native-multibundle 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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