# check project settings
pnpm dlx expo-doctor
# Didn't find any issues with the project!# upgrade
pnpm dlx expo-cli upgrade
# ✔ Would you like to proceed? … yes# ...# 👏 Automated upgrade steps complete.# check again
pnpm dlx expo-doctor
when expo-doctor failed, the message shows the next command to fix
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✖ Check that packages match versions required by installed Expo SDK
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK
Detailed check results:
Some dependencies are incompatible with the installed expo version:
[email protected] - expected version: 0.72.6
Your project may not work correctly until you install the correct versions of the packages.
Fix with: npx expo install --fix
Found outdated dependencies
Advice: Use 'npx expo install --check' to review and upgrade your dependencies.
One or more checks failed, indicating possible issues with the project.
pnpm dlx expo install --check
# Some dependencies are incompatible with the installed expo version:#[email protected] - expected version: 0.72.6# Your project may not work correctly until you install the correct versions of the packages.# Fix with: npx expo install --fix# ✔ Fix dependencies? … yes# › Installing 1 SDK 49.0.0 compatible native module using pnpm# check again
pnpm dlx expo-doctor
# Didn't find any issues with the project!
Note: --fix-dependencies seems to be old and no longer works