2025 Update
According to the Expo documentation, use:
npx expo install --fix
Tip: Run this command multiple times — it may continue updating dependencies on each pass until everything is aligned with the expected versions.