expo-doctor wants TypeScript 6 but tsc reports hundreds of errors
ExpoConfirmed fix
Expo SDK 56/57, TypeScript 6.0.x
There is no error message for this one, only the symptom in the title.
Cause
TypeScript 6 changes ambient type resolution (jest globals and similar). It is a separate breaking upgrade, not part of the SDK bump.
Fix
Stay on TypeScript ~5.9 and stop expo-doctor complaining:
JSON
"expo": { "install": { "exclude": ["typescript"] } }More Expo errors
- Dev client red screen: No script URL provided (launcher never appears)No script URL provided
- Bundle fails with Invalid expression encountered after supabase-js updateInvalid expression encountered
- After upgrading to SDK 57, expo-font / expo-image / expo-asset config is missing
- SDK upgrade: export dies with SyntaxError after expo install --fixSyntaxError: ... Unable to determine event arguments for "onModeChange"
- CI typecheck fails (or passes with a broken href) because .expo/types is missingerror TS2578: Unused '@ts-expect-error' directive