Skip to content

EAS | Runtime version calculated on EAS: null #3528

@ahmeterenodaci

Description

@ahmeterenodaci

Build/Submit details page URL

https://expo.dev/accounts/aeo/projects/row-duels/builds/b598f6d6-4455-43ff-af3b-1f8bffb3a8ce

Summary

I am encountering a build failure when running eas build --profile production --platform android
I also tried building locally but it didn't worked.

What I tried:

Logout & login to eas
Delete node_modules
npx expo-doctor & npx expo install --fix
Manually setting runtime version 

Here is the error:

Runtime version mismatch:
Runtime version calculated on local machine: 1.0.0
Runtime version calculated on EAS: null
This may be due to one or more factors:
Differing result of conditional app config (app.config.js) evaluation for runtime version resolution.
Differing fingerprint when using fingerprint runtime version policy. If applicable, see fingerprint diff below.
This would cause any updates published on the local machine to not be compatible with this build. [CONFIGURE_EXPO_UPDATES] Failed to fetch current fingerprint info CombinedError: [GraphQL] The bearer token is invalid.

Managed or bare?

managed

Environment

System:
      OS: macOS 14.8.3
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.20.0 - ~/.nvm/versions/node/v20.20.0/bin/node
      npm: 10.8.2 - ~/.nvm/versions/node/v20.20.0/bin/npm
      Watchman: 2025.05.26.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.16.2 - /Users/eren/.gem/ruby/3.2.0/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 24.2, iOS 18.2, macOS 15.2, tvOS 18.2, visionOS 2.2, watchOS 11.2
    IDEs:
      Android Studio: 2025.3 AI-253.29346.138.2531.14850935
      Xcode: 16.2/16C5032a - /usr/bin/xcodebuild
    npmPackages:
      expo: ~54.0.33 => 54.0.33 
      expo-router: ~6.0.23 => 6.0.23 
      expo-updates: ~29.0.16 => 29.0.16 
      react: 19.1.0 => 19.1.0 
      react-dom: 19.1.0 => 19.1.0 
      react-native: 0.81.5 => 0.81.5 
    npmGlobalPackages:
      eas-cli: 18.4.0
    Expo Workflow: bare

17/17 checks passed. No issues detected!

Error output

Runtime version mismatch:
Runtime version calculated on local machine: 1.0.0
Runtime version calculated on EAS: null
This may be due to one or more factors:
Differing result of conditional app config (app.config.js) evaluation for runtime version resolution.
Differing fingerprint when using fingerprint runtime version policy. If applicable, see fingerprint diff below.
This would cause any updates published on the local machine to not be compatible with this build. [CONFIGURE_EXPO_UPDATES] Failed to fetch current fingerprint info CombinedError: [GraphQL] The bearer token is invalid.
...
Error: Runtime version calculated on local machine not equal to runtime version calculated during build.
at configureExpoUpdatesIfInstalledAsync (/Users/eren/.npm/_npx/7c5cb04dd06e9766/node_modules/@expo/build-tools/dist/utils/expoUpdates.js:87:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/eren/.npm/_npx/7c5cb04dd06e9766/node_modules/@expo/build-tools/dist/builders/android.js:105:9
at async BuildContext.runBuildPhase (/Users/eren/.npm/_npx/7c5cb04dd06e9766/node_modules/@expo/build-tools/dist/context.js:125:28)
at async buildAsync (/Users/eren/.npm/_npx/7c5cb04dd06e9766/node_modules/@expo/build-tools/dist/builders/android.js:104:5)
at async runBuilderWithHooksAsync (/Users/eren/.npm/_npx/7c5cb04dd06e9766/node_modules/@expo/build-tools/dist/builders/common.js:12:13)
at async Object.androidBuilder (/Users/eren/.npm/_npx/7c5cb04dd06e9766/node_modules/@expo/build-tools/dist/builders/android.js:28:16)
at async buildAndroidAsync (/Users/eren/.npm/_npx/7c5cb04dd06e9766/node_modules/eas-cli-local-build-plugin/dist/android.js:43:12)
at async buildAsync (/Users/eren/.npm/_npx/7c5cb04dd06e9766/node_modules/eas-cli-local-build-plugin/dist/build.js:54:29)
at async main (/Users/eren/.npm/_npx/7c5cb04dd06e9766/node_modules/eas-cli-local-build-plugin/dist/main.js:16:9)

Build failed

Reproducible demo or steps to reproduce from a blank project

  1. rm -rf node_modules
  2. npm install
  3. eas build --profile production --platform android

app.json:

{
  "expo": {
    "name": "***",
    "slug": "***",
    "version": "1.0.0",
    "runtimeVersion": {
      "policy": "appVersion"
    },
    "updates": {
      "url": "***",
      "enabled": true,
      "checkAutomatically": "ON_LOAD",
      "fallbackToCacheTimeout": 0
    }
    ...
  }
  ...
}

eas.json

{
  "cli": {
    "appVersionSource": "local"
  },
  "build": {
    "production": {
      "autoIncrement": true,
      "android": {
      "buildType": "app-bundle"
      },
      "channel": "production"
    },
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewIssue is ready to be reviewed by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions