eas run build
fails with error message A problem occurred evaluating script > java.lang.Exception (no error message)
==> Managed workflow
==> eas-cli/0.33.1 darwin-x64 node-v14.18.1
Build error
Running './gradlew :app:bundleRelease' in /build/workingdir/build/android
Downloading https://services.gradle.org/distributions/gradle-6.8-all.zip
Unzipping /root/.gradle/wrapper/dists/gradle-6.8-all/9emh0d32e025cam7aasxcw002/gradle-6.8-all.zip to /root/.gradle/wrapper/dists/gradle-6.8-all/9emh0d32e025cam7aasxcw002
Set executable permissions for: /root/.gradle/wrapper/dists/gradle-6.8-all/9emh0d32e025cam7aasxcw002/gradle-6.8/bin/gradle
Welcome to Gradle 6.8!
Here are the highlights of this release:
- Faster Kotlin DSL script compilation
- Vendor selection for Java toolchains
- Convenient execution of tasks in composite builds
- Consistent dependency resolution
For more details see https://docs.gradle.org/6.8/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
:ReactNative:Unexpected empty result of running '[node, /build/workingdir/build/node_modules/@react-native-community/cli/build/bin.js, config]' command.
:ReactNative:Running '[node, /build/workingdir/build/node_modules/@react-native-community/cli/build/bin.js, config]' command failed.
FAILURE: Build failed with an exception.
Script '/build/workingdir/build/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 195
* What went wrong:
A problem occurred evaluating script > java.lang.Exception (no error message)
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 11s
Error: Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.