The 'expo-modules-autolinking' package has been found, but it seems to be incompatible with '@expo/prebuild-config'
Build/Submit details page URL
No response
Summary
When I try running pnpm eas build --platform ios i get the error The 'expo-modules-autolinking' package has been found, but it seems to be incompatible with '@expo/prebuild-config'
Managed or bare?
managed
Environment
expo-env-info 2.0.7 environment info: System: OS: macOS 15.6.1 Shell: 5.9 - /bin/zsh Binaries: Node: 22.15.0 - ~/.nvm/versions/node/v22.15.0/bin/node Yarn: 1.22.19 - ~/.yarn/bin/yarn npm: 10.9.2 - ~/.nvm/versions/node/v22.15.0/bin/npm Managers: CocoaPods: 1.16.2 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 24.5, iOS 18.5, macOS 15.5, tvOS 18.5, visionOS 2.5, watchOS 11.5 IDEs: Android Studio: 2024.3 AI-243.22562.218.2431.13114758 Xcode: 16.4/16F6 - /usr/bin/xcodebuild npmPackages: expo: ~54.0.7 => 54.0.7 expo-router: ~6.0.5 => 6.0.5 react: 19.1.0 => 19.1.0 react-dom: 19.1.0 => 19.1.0 react-native: 0.81.4 => 0.81.4 react-native-web: ~0.21.0 => 0.21.1 npmGlobalPackages: eas-cli: 16.19.2 Expo Workflow: managed 17/17 checks passed. No issues detected!
Error output
The 'expo-modules-autolinking' package has been found, but it seems to be incompatible with '@expo/prebuild-config'
Reproducible demo or steps to reproduce from a blank project
init a new expo project with pnpm with router template, install dependencies and run pnpm eas build --platform ios.
package.json file
{ "name": "test-app", "main": "expo-router/entry", "version": "1.0.0", "scripts": { "start": "expo start", "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web" }, "dependencies": { "@expo/metro-runtime": "~6.1.2", "@expo/vector-icons": "^15.0.2", "@react-navigation/native": "^7.1.8", "expo": "~54.0.7", "expo-constants": "~18.0.8", "expo-font": "~14.0.8", "expo-linking": "~8.0.8", "expo-router": "~6.0.5", "expo-splash-screen": "~31.0.10", "expo-status-bar": "~3.0.8", "expo-web-browser": "~15.0.7", "react": "19.1.0", "react-dom": "19.1.0", "react-native": "0.81.4", "react-native-reanimated": "~4.1.0", "react-native-safe-area-context": "~5.6.0", "react-native-screens": "~4.16.0", "react-native-web": "~0.21.0", "react-native-worklets": "0.5.1" }, "devDependencies": { "@types/react": "~19.1.0", "react-test-renderer": "19.1.0", "typescript": "~5.9.2" }, "private": true }