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

Open
#6 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, javascript, react-native

Research direction

Start by reproducing the failure with yarn e2e:android on the reported Windows environment and inspect the :app:bundleDebugJsAndAssets task output. Trace why the command exits with code 1, then verify that the Android app installs in the emulator and can be tested successfully.

Written by the indexing model from the issue text.

Description

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
Dominant language
JavaScript
Stars
59
Forks
3
PR merge metrics
No merged PRs in 30d

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.

More from callstack/react-native-multibundle

All issues in callstack/react-native-multibundle

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.