How I Troubleshot EAS Build Upload Problems in Expo React Native

By Jainil Pandya — Co-Founder & Lead Developer, IAMISHAAN LLC

Building mobile applications with Expo and React Native simplifies many aspects of cross-platform development. However, as an application grows, managing dependencies, native build files and cloud build uploads can become increasingly challenging.

While developing iTTMM, a shared expense management application for iOS and Android, I encountered a problem where EAS Build appeared to stall while uploading the project.

During the investigation, I discovered that my local project directory had grown to approximately 3.9 GB.

This article documents my troubleshooting experience, explains how to identify unnecessary project files and provides practical recommendations for preparing an Expo project for EAS Build.

1. My Development Environment

At the time of troubleshooting, I was working with the following development environment:

TechnologyConfigurationOperating systemmacOSFrameworkExpo and React NativeProgramming languageTypeScriptNode.js20.20.0EAS CLI20.5.0Target platformsiOS and AndroidApplicationiTTMMBackendFirebase

These versions reflect the environment used during the original investigation in June 2026. Developers using newer versions may encounter different behavior.

2. The EAS Build Upload Problem

I was attempting to create a production build using the following command:

eas build --platform ios --profile production

The build process reached the project compression and upload stage but appeared to stop making progress.

A diagnostic log included the following output:

Compressing project files and uploading to EAS Build.

Uploading to EAS Build (0 / 10.8 MB)

At this point, the remote build had not yet reached the normal compilation stage.

This distinction matters because an upload problem is different from an Xcode, Gradle, CocoaPods or application compilation error.

Before changing application code, I needed to determine whether the problem involved project packaging, local files, network connectivity or the EAS upload service.

3. Checking the Installed EAS CLI

My first troubleshooting step was checking which EAS CLI executable was being used.

which eas

I also checked whether multiple installations were available:

type -a eas

To verify the installed version:

npm list -g eas-cli

The installed version was:

eas-cli@20.5.0

This helped establish the development environment and identify whether conflicting CLI installations might be contributing to the problem.

Developers can also check their current versions using:

node --version
npm --version
eas --version

If an update is necessary, review compatibility with your Expo project before upgrading.

4. Discovering the Size of My Project

One of the most useful diagnostic commands was:

du -sh .

The result was:

3.9G    .

My local iTTMM project directory was approximately 3.9 GB.

I then checked the dependency directory:

du -sh node_modules

The result was:

1.6G    node_modules

The size of the dependency directory was significant, but it was not the only large directory.

5. Investigating the iOS Directory

To identify large files and directories within the native iOS project, I ran:

du -sh ios/* | sort -h

The results included:

4.0K    ios/iTTMM.xcworkspace
4.0K    ios/Podfile
4.0K    ios/Podfile.properties.json
48K     ios/iTTMM.xcodeproj
88K     ios/Podfile.lock
1.2M    ios/build
1.2M    ios/iTTMM
972M    ios/Pods

The CocoaPods directory alone occupied approximately 972 MB.

CocoaPods dependencies can become large as an application integrates additional native libraries.

However, developers should distinguish between generated dependencies and essential native project configuration.

Files such as the Podfile, Podfile.lock and native project configuration may be necessary for reproducing a build. Generated dependency directories can often be recreated during the build process.

6. Investigating the Android Directory

I performed a similar investigation for Android:

du -sh android/* | sort -h

The results included:

4.0K    android/build.gradle
4.0K    android/gradle.properties
4.0K    android/gradlew.bat
4.0K    android/settings.gradle
12K     android/gradlew
48K     android/gradle
168K    android/build
1.2G    android/app

The Android application directory occupied approximately 1.2 GB.

This was another area that required investigation.

A large Android application directory may contain generated build outputs, intermediate files, compiled resources, APK files and Android App Bundles.

However, the entire android/app directory should not be excluded blindly because it also contains essential application source code and configuration.

To investigate further, developers can run:

du -sh android/app/* | sort -h

This helps identify which specific subdirectories are responsible for the large size.

7. Understanding My Project Size

The three largest areas identified during the investigation were:

DirectoryApproximate sizenode_modules1.6 GBios/Pods972 MBandroid/app1.2 GBEntire project3.9 GB

These figures were taken from the original terminal output and are rounded.

A large local project directory does not necessarily mean that EAS uploads the entire directory.

EAS Build uses project packaging and ignore rules to determine which files should be included in the upload archive.

In my case, the reported upload archive was approximately 10.8 MB, considerably smaller than the local project directory.

This was an important observation: the large local directory justified reviewing project packaging, but it did not prove that project size caused the stalled upload.

Network connectivity and upload service behavior also needed to be considered.

8. Checking Which Files Git Tracks

Before excluding or removing directories, I checked whether generated files were being tracked by Git.

For CocoaPods:

git ls-files ios/Pods | head

For Android application files:

git ls-files android/app | head

For generated build directories:

git ls-files android/build | head
git ls-files ios/build | head

The CocoaPods and generated build directory checks returned no tracked files.

The Android application directory, however, contained important tracked files, including:

android/app/build.gradle
android/app/proguard-rules.pro
android/app/src/debug/AndroidManifest.xml
android/app/src/main/AndroidManifest.xml
android/app/src/main/java/.../MainActivity.kt
android/app/src/main/java/.../MainApplication.kt

This confirmed why excluding the entire Android application directory would have been inappropriate.

Git tracking is useful for understanding project structure, although it does not independently determine every file included in an EAS upload.

9. Creating an .easignore File

During the investigation, I discovered that my project did not have a dedicated .easignore file.

The .easignore file allows developers to control which files are excluded from the project archive uploaded to EAS Build.

When a dedicated .easignore file is present, it takes precedence over .gitignore for EAS project packaging.

Therefore, an important first step is reviewing and preserving the relevant rules from the existing .gitignore file.

A developer who does not already have an .easignore file can start with:

cp .gitignore .easignore

Do not run this command over an existing .easignore file without reviewing its contents.

The following is an illustrative configuration for excluding common generated files:

# Dependencies
node_modules/

# Expo local files
.expo/

# Generated iOS dependencies and builds
ios/Pods/
ios/build/
ios/DerivedData/

# Generated Android build files
android/.gradle/
android/build/
android/app/build/
android/.cxx/
android/app/.cxx/

# Testing and coverage
coverage/

# Temporary files
*.log
*.tmp

# macOS files
.DS_Store

# Local build artifacts
*.apk
*.aab
*.ipa

This example should be merged with existing project-specific ignore rules rather than used as a universal replacement.

Projects with custom build processes, local dependencies or native configuration may require additional files.

10. Files You Should Not Exclude Blindly

Reducing an upload archive is useful only if the remaining project contains everything necessary to build the application.

Be particularly careful with:

  • package.json

  • Dependency lock files

  • eas.json

  • Expo application configuration

  • Application source code

  • Images, fonts and other application assets

  • Firebase configuration required by the build

  • Native Android manifests

  • Android Gradle configuration

  • iOS project configuration

  • Podfile and Podfile.lock

  • Custom native modules

  • Build scripts and configuration plugins

Some Expo projects generate native directories during the build process, while others maintain customized native directories in source control.

My iTTMM project included native Android and iOS configuration, so preserving those files was important.

Do not exclude the complete ios or android directory unless you have confirmed that your project can regenerate all required native configuration.

Sensitive credentials and environment variables should be handled through appropriate secure build configuration rather than committed or uploaded unnecessarily.

11. Inspecting the EAS Build Archive

Developers can inspect the project archive before starting another cloud build.

For example:

eas build:inspect \
  --platform ios \
  --stage archive \
  --profile production \
  --output /tmp/ittmm-eas-inspect

The exact command options may vary by EAS CLI version. Check the available options using:

eas build:inspect --help

After inspecting the archive stage, review the generated output:

du -sh /tmp/ittmm-eas-inspect

You can also investigate individual directories:

du -sh /tmp/ittmm-eas-inspect/* | sort -h

This provides a more direct way to understand the files being prepared for EAS Build.

Inspecting the archive is particularly valuable because the size of the local working directory may be very different from the size of the uploaded archive.

12. Checking Network Connectivity

If the project archive is reasonably small but the upload continues to stall, the next step is investigating network connectivity.

Potential causes include:

  • Unstable internet connectivity.

  • VPN connections.

  • Proxy configuration.

  • Corporate network restrictions.

  • Firewall rules.

  • Temporary upload service interruptions.

  • Problems with connections to cloud storage services.

On macOS, developers can inspect system proxy settings using:

scutil --proxy

Environment-level proxy configuration can be checked using:

env | grep -i proxy

These commands help identify whether traffic is being routed through a configured proxy.

Testing from another trusted network can also help distinguish a local network problem from a project-specific problem.

Developers should review the official Expo service status page before spending significant time changing a working application.

Expo Service Status

Avoid disabling security software or network protections unnecessarily.

13. Capturing Useful Diagnostic Logs

During troubleshooting, I also attempted to use the following command:

eas build --platform ios --profile production --verbose

However, my installed EAS CLI returned:

Nonexistent flag: --verbose
See more help with --help.
Error: build command failed.

This was a reminder that command-line options can vary between tools and versions.

Instead of assuming that a verbose flag is supported, check the available options:

eas build --help

To capture standard terminal output in a file, a developer can use:

eas build --platform ios \
  --profile production 2>&1 | tee eas-build.log

The log can then be searched for relevant information:

grep -Ei "upload|storage|error|timeout|failed" \
  eas-build.log

Review logs carefully before sharing them publicly. They may contain local file paths, account identifiers, signed upload URLs or other sensitive information.

14. A Practical Troubleshooting Checklist

The following checklist summarizes the approach I recommend for investigating EAS Build upload problems.

StepAction1Confirm the installed Node.js and EAS CLI versions2Identify the exact stage where the build stops3Measure the local project directory size4Identify large dependencies and generated files5Check which native files are tracked by Git6Review .gitignore and .easignore7Inspect the project archive8Confirm required native files remain included9Check network connectivity and proxy configuration10Review Expo service status11Capture and inspect diagnostic logs12Retry the build after targeted changes

Make one meaningful change at a time whenever possible. This makes it easier to identify which action affects the problem.

15. Should You Delete node_modules, Pods or Build Directories?

Deleting generated files can sometimes help resolve local dependency or build-cache problems.

However, it should not be the first response to every upload issue.

If an upload archive is already excluding these directories, deleting them may not reduce the archive size or resolve a network problem.

Similarly, clearing a remote build cache may help with certain compilation issues but does not necessarily address a project upload that has not completed.

The better approach is to identify the failing stage before choosing a cleanup strategy.

16. Lessons From Developing iTTMM

This troubleshooting experience reinforced several important development practices.

First, local project size and uploaded archive size are different measurements.

Second, native directories contain a combination of generated files and essential source code.

Third, ignore files should be configured carefully rather than copied blindly from another project.

Finally, an upload problem should be investigated separately from a remote compilation problem.

As iTTMM continued to grow, maintaining a clean and reproducible build environment became increasingly important.

These practices are useful not only for iTTMM but also for other Expo and React Native applications that integrate multiple native dependencies.

17. Frequently Asked Questions

Why is EAS Build stuck uploading my project?

Possible causes include network interruptions, temporary service issues, proxy configuration, archive preparation problems or other upload-related failures.

Start by identifying whether the project is still being compressed or whether the archive upload itself has stalled.

Does EAS Build upload node_modules?

In a standard Expo project, node_modules is normally excluded from the upload archive, and dependencies are installed in the build environment.

Review your ignore rules and archive contents to confirm the behavior for your project.

What is the difference between .gitignore and .easignore?

The .gitignore file controls which untracked files Git ignores.

The .easignore file controls exclusions for the EAS Build project archive. When present, it takes precedence over .gitignore for that purpose.

Can I exclude the entire Android directory?

Only if your project's build workflow can correctly regenerate the native Android project and all required customizations.

Projects that maintain custom native code should preserve the necessary files.

Will deleting ios/Pods reduce my EAS upload size?

Not necessarily. If ios/Pods is already excluded from the archive, deleting it will reduce local disk usage but may not change the uploaded archive size.

Does clearing the EAS build cache fix upload problems?

Not necessarily. Remote build caches are generally relevant to the build environment after the project has been uploaded. Upload failures require separate investigation.

Should I upgrade EAS CLI when experiencing upload problems?

Check the installed version and review relevant release notes. Updating may resolve known issues, but it is not a guaranteed solution to every upload problem.

Official Developer Resources

Conclusion

Troubleshooting EAS Build upload problems requires a systematic approach.

While developing iTTMM, examining my 3.9 GB project directory helped identify large dependencies and generated native files. However, the reported 10.8 MB upload archive demonstrated why local project size alone could not explain the upload issue.

Reviewing ignore rules, preserving essential native files, inspecting build archives and investigating network connectivity are valuable steps toward maintaining a reliable Expo development workflow.

I hope this experience helps other developers diagnose similar problems without unnecessarily modifying working application code.

About the Author

Jainil Pandya is the Co-Founder and Lead Developer of IAMISHAAN LLC and develops mobile applications including iTTMM and iDET.

The IAMISHAAN Developer Corner shares practical technical experiences, development challenges and lessons learned while building mobile applications.

Learn more about iTTMM and IAMISHAAN.

IAMISHAAN LLC — Solution for Every Problem.

Editorial note: This article is based on an actual iTTMM development investigation in June 2026. Terminal output has been shortened where appropriate. Additional configuration examples and troubleshooting commands are provided for educational purposes. The investigation did not conclusively establish a single root cause for the stalled upload.

expo-eas-build-upload-troubleshooting