On Expo SDK 54 (React Native 0.81), using @sentry/react-native ~7.1.x can lead to Metro bundling failures (TypeError: countLines is not a function). Sentry fixed this upstream in version 7.2.0 (they vendored the countLines logic to avoid Metro internals). Current Behavior Expo Doctor currently expects @sentry/react-native ~7.1.0. After upgrading to 7.2.x (which resolves the bundling error), expo-doctor reports: ✖ Check that packages match versions required by installed Expo SDK Minor version mismatches @sentry/react-native expected ~7.1.0 found 7.2.0 Workaround Adding to package.json: { "expo": { "install": { "exclude": ["@sentry/react-native"] } } } This suppresses the warning and allows healthy builds with Sentry 7.2.x. Request Please update Expo’s dependency mapping so that @sentry/react-native ~7.2.x is accepted by default (or broaden the accepted range). This prevents developers from hitting the Metro error with ~7.1.x and avoids having to manually exclude the package. References Sentry RN 7.2.0 Release ( https://github.com/getsentry/sentry-react-native/releases/tag/7.2.0 ) Expo docs – install.exclude ( https://docs.expo.dev/versions/latest/config/package-json/#installexclude )