I suspect I haven’t read the docs closely enough. I haven’t touched eas.json aside from what was auto-generated. But, I don’t need to build using EAS right now, so I think my main goal here is to post my errors just in case it’s useful to the Expo team. If anything obvious stands out, please let me know!
$ eas --version
eas-cli/0.14.1 linux-x64 node-v12.18.3
For Android, error at Run gradlew:
Task :app:bundleReleaseJsAndAssets FAILED
Welcome to React Native! Learn once, write anywhere
Error: The resource
/build/workingdir/build/index.js
was not found.at /build/workingdir/build/node_modules/metro/src/IncrementalBundler.js:157:26 at gotStat (fs.js:1864:21)
[stderr] error The resource
/build/workingdir/build/index.js
was not found. Run CLI with --verbose flag for more details.at callback (/build/workingdir/build/node_modules/graceful-fs/polyfills.js:299:20)
at FSReqCallback.oncomplete (fs.js:183:21)
Task :expo-application:compileReleaseLibraryResources
Task :expo-constants:compileReleaseLibraryResources
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
189 actionable tasks: 189 executed
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ‘:app:bundleReleaseJsAndAssets’.
[stderr] > Process ‘command ‘node’’ finished with non-zero exit value 1
[stderr] * Try:
[stderr] 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.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 1m 0s
Error: Gradle build failed with unknown error. Please see logs for the “Run gradlew” phase.
I searched and did not see people talking about graceful-fs/polyfills.js
For iOS, error at fastlane:
The following build commands failed:
PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/PinballMap-gggmwdotbdtfqxahrpnwubjwlnpw/Build/Intermediates.noindex/ArchiveIntermediates/PinballMap/IntermediateBuildFilesPath/PinballMap.build/Release-iphoneos/PinballMap.build/Script-00DD1BFF1BD5951E006B06BC.sh