Skip to content

Web export broken on main: expo-modules-autolinking override (56.0.12) predates @expo/cli 56.1.22 #501

Closed

Description

@thinkclay

What broke

expo export --platform web (and therefore every web/SSR deploy) fails immediately on current main (97a2fa0):

TypeError: autolinking.getSupportPackageForPlatform is not a function
    at .../@expo/cli/build/src/start/server/metro/createExpoAutolinkingResolver.js:94

Root cause

The root package.json pnpm overrides pin expo-modules-autolinking: 56.0.12 and expo-modules-core: 56.0.12 (introduced in the atomic SDK 55→56 upgrade, #298, when those were the current versions). Subsequent dep bumps moved expo to 56.0.18, whose @expo/cli 56.1.22 calls getSupportPackageForPlatform() — an API that only exists in expo-modules-autolinking ≥ ~56.0.2x. The overrides force the old version anyway, so the resolver blows up at Metro config time.

[email protected] declares expo-modules-autolinking: ~56.0.21 and expo-modules-core: ~56.0.22; the overrides silently violate both.

Why CI didn't catch it

  • Lint / typecheck / unit tests all pass — this is runtime-only, at bundler startup.
  • GitHub Actions is currently billing-blocked (every run on main since ~fix(ci): unbreak the pipeline — lockfile, lint, coverage, permissions #492 dies in 3-12s with "The job was not started because recent account payments have failed or your spending limit needs to be increased"), so even workflows that would exercise an export never ran.

Fix

Align the two overrides with what [email protected] declares: expo-modules-autolinking: 56.0.21, expo-modules-core: 56.0.22. PR incoming.

Found during the 2026-07-30 staging deploy of the last 24h of merges.

Activity

  1. added 3 commits that reference this issue on Jul 30, 2026
    d63f9e5
    ae602cf
    67e6c31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions