[0.60.2] Build failing when enabling Hermes (enableHermes: true)
Problem
Build is failing when I enable Hermes in android/app/build.gradle Error: React Native version: System: OS: macOS 10.14.5 CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Memory: 71.63 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 10.15.1 - /usr/local/bin/node Yarn: 1.13.0 - /usr/local/bin/yarn npm: 6.4.1 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2 Android SDK: API Levels: 23, 24, 25, 26, 27, 28 Build Tools: 21.1.2, 23.0.1, 25.0.0, 25.0.1, 25.0.2, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.2, 28.0.3, 29.0.0 System Images: android-23 | Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-27 | Android TV Intel x86 Atom, android-27 | Intel x86 Atom, android-27 | Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64 Android NDK: 20.0.5594570 IDEs: Android Studio: 3.4 AI-183.6156.11.34.5522156 Xcode: 10.2/10E125 - /usr/bin/xcodebuild npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.60.2 => 0.60.2 npmGlobalPackages: react-native-cli: 2.0.1 react
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: [0.60.2] Build failing when enabling Hermes (enableHermes: true)
I have same issue with `0.60.3` in `--variant release` (in dev is ok ) * What went wrong: Execution failed for task ':app:bundleReleaseJsAndAssets'. > A problem occurred starting process 'command '..\..\node_modules\hermesvm\win64-bin\hermes''
Trust Score
6 verifications
- 1
I have same issue with `0.60.3` in `--variant release`
(in dev is ok )
- 2
What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'. > A problem occurred starting process 'command '..\..\node_modules\hermesvm\win64-bin\hermes''
Validation
Resolved in facebook/react-native GitHub issue #25599. Community reactions: 22 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep