My Android builds are consistently failing in the Prepare project build phase with the error:
tar -C /home/expo/workingdir/build --strip-components 1 -zxf /home/expo/workingdir/project.tar.gz exited with code 2 I have verified that the project uploads (~1.9 MB), but Expo cannot extract the archive.
Locally, I captured the TAR using eas build:inspect and WSL; the file extracts fine and lists the expected Gradle files (android/gradle, app/build.gradle, etc.). On Windows, however, the TAR often comes out empty or truncated (0 bytes).
Details:
Project: @kiaradiaz0249/wadatrip-mobile
Build IDs with failure:
a0158ddb-b756-48d9-a799-26ae26e84e22
ead2e72c-aad6-4763-a310-4313c9b2f377
CLI: eas-cli/16.19.2
Environment: Windows 10 + WSL Ubuntu 22.04
eas.json and .easignore cleaned (excluding .idea, scripts, backend, *.ps1, logs, etc.).
SHA256 of archive from WSL: (replace with your sha256sum eas-linux-project.tar.gz output).
Steps already taken:
Cleaned Gradle and caches before builds.
Confirmed project.tar.gz extracts properly under WSL.
Reproduced corruption under Windows PowerShell.
Request:
Please check why the uploaded archive is not being extracted correctly on your servers and advise if there are specific path or Windows-related issues we need to avoid.