Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteSome links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Expo Doctor errors usually mean a package, native module, or Expo configuration does not match the SDK installed in your project. Run npx expo-doctor@latest from the project root, read the full named check and its advice, apply the matching fix—most often npx expo install --fix—then run Doctor again.
Do not start by deleting caches or installing every dependency at latest. Doctor runs several independent checks, and the red ✖ line tells you which repair path to use. The commands below apply globally to Expo projects and reflect the SDK 58 documentation example and expo-doctor 1.21.8 published in November 2026.
As an Amazon Associate I earn from qualifying purchases.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →What is Expo Doctor?
Expo describes Expo Doctor as “a command-line tool used to diagnose issues in your Expo project.” It is a separate npm package, expo-doctor, rather than a subcommand of the retired global expo-cli. When it finds a problem, it prints a description, supporting details and advice about the next step.
Run it in the directory containing your package.json:
Popular on Amazon
- 【90 Degree Full Function USB C Adapter】Supports the latest USB4 standard for up to 40Gbps of bandwidth, 8K video support, and up to 240W Fast charging; Support USB PD 3.1 Extended Power Range (EPR) including 140W, 180W and 240W. Your productivity is easily doubled. *Warm Tip: For the best fit, please make sure the USB-C port is fully exposed; thick or bulky cases may affect compatibility.
- 【Reliable Quality】Made from high-quality, scratch-resistant aluminum alloy, delicate metal frame. get excellent wear resistance and heat dissipation. Non-Slip Design for easier insertion and removal.
- 【Small and portable】Ultra thin size, ultra compact design, a petite physique that matches the minimalist design of your modern laptops. Coming with a slim figure that won't block the port next to the one it's plugged into.
- 【Compatibility】Widely work with most usb c, thunderbolt 4/3 devices. Compatibilit for ROG Ally, Steam Deck, Switch, MacBook Pro, Quest 3 VR headset, Surface Book 2, iPhone 18/17/16/15, Samsung Galaxy S23/S22/S21, Note 20/10, Google Pixel, ChromeBook, etc.
- 【Excellence Customer Support】If you experience any issues or cable failure, simply reach out to our dedicated customer service team. We provide a prompt response within 18 hours, providing you with the necessary technical support to resolve any concerns.
npx expo-doctor@latest
Equivalent commands for other package managers are:
yarn dlx expo-doctor
pnpm dlx expo-doctor
bunx expo-doctor
The npm package reports version 1.21.8, published 11 November 2026. Check the installed command’s own list with:
npx expo-doctor --help
Doctor’s exact check names and total count change with the package and SDK. Expo does not publish a permanent numbered checklist, so match the complete section in your terminal rather than relying on an old screenshot.
What should I run first when Expo Doctor fails?
Run Doctor by itself before changing dependencies. Save the complete output, including the advice lines beneath each red check, and identify the first check that actually describes your problem.
npx expo-doctor@latest
npx expo install --check
npx expo install --fix
npx expo-doctor@latest
--check reports packages that differ from the versions recommended for the installed SDK. --fix changes the dependency declarations and installs the compatible ranges. Run Doctor again after each meaningful change so you know which check became green.
A healthy result might say “Didn’t find any issues with the project!” A practitioner report for an SDK 57 template showed “21/21 checks passed,” but that is a snapshot for that package and template, not an Expo promise that every version has 21 checks.
How do I identify the Expo SDK before changing packages?
The SDK line is determined by the expo dependency in package.json. Inspect it and ask Expo for the resolved public configuration:
npx expo --version
npx expo config --type public
For example, a project may contain "expo": "~54.0.0". Do not confuse the CLI version with the SDK version. As of the November 2026 upgrade documentation, Expo uses expo@^58.0.0 as the current-target example; that does not mean an existing app should jump directly to SDK 58 without following the upgrade guide.
If app.json still contains an old sdkVersion, remove it or make it agree with dependencies.expo. A stale value can create React Native mismatch symptoms even when the package tree looks correct.
How do I fix “Check that packages match versions required by installed Expo SDK”?
This is the most common Doctor failure. It means one or more dependencies are outside the compatibility ranges Expo recorded for your installed SDK. Run the Expo installer, not a generic package update:
Free tools Windows power users keep installed
One-click scans. No signup required.
npx expo install --check
npx expo install --fix
npx expo-doctor@latest
Expo maintains a limited compatibility set for each SDK. Its dependency-resolution guidance explains that expo install --fix automatically realigns dependencies with the expected versions for the current SDK. This is especially important after a major SDK upgrade, because Expo and React Native versions are upgraded together.
Also popular on Amazon
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Install new Expo or native modules through the same resolver:
npx expo install expo-audio
Avoid these common “fixes”:
npm install package-name@latestcan select a release intended for a newer SDK.npm updateignores Expo’s compatibility table.- Hand-editing several version strings can leave Expo, React Native and native modules on incompatible lines.
npm audit fix --forcecan make a major dependency change while chasing a transitive advisory. If you need the audit command, use plainnpm audit fixfirst and review the diff.
After --fix, commit package.json and its lockfile together. If the check remains red, copy the package names from Doctor and inspect why each one is present with your package manager’s dependency explanation command.
When should I exclude a package from Expo’s version check?
Exclude a package only when you intentionally pin a version that differs from Expo’s recommendation and you understand the native consequences. Add the package under the Expo-specific install.exclude property in package.json:
{
"expo": {
"install": {
"exclude": ["expo-updates", "expo-splash-screen"]
}
}
}
Expo’s package.json reference documents this setting. It is useful for a deliberate compatibility pin, not as a way to silence every red line. An exclusion does not make an incompatible native module compatible; document why it exists and revisit it during the next SDK upgrade.
There is also an environment variable, EXPO_DOCTOR_SKIP_DEPENDENCY_VERSION_CHECK, which skips the dependency-version check. Treat it as a last resort for controlled CI noise. It suppresses the diagnosis; it does not repair the package tree.
How do I fix duplicate native modules?
From SDK 54 onward, Doctor checks duplicate native modules using Expo Autolinking output. Multiple copies of React Native or another native package can compile against different APIs, even when the top-level version appears correct.
Find the duplicate paths with the command for your package manager:
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsnpm why react-native
pnpm why --depth=10 react-native
yarn why react-native
bun pm why react-native
npm ls @expo/config-plugins
Look for two different exact versions that are not marked as deduped or hoisted. Then clean the dependency tree:
npm dedupe
pnpm dedupe
yarn dedupe
npx yarn-deduplicate && yarn
The last command is for Yarn Classic; Yarn Berry has its own yarn dedupe. Bun currently has no official dedupe command in Expo’s guidance, so deleting the Bun lockfile and reinstalling is the usual, more disruptive, option.
If incompatible peer ranges force two versions, a temporary root override can select one version:
{
"overrides": {
"react": "^19.1.0"
}
}
Use the equivalent resolutions field where appropriate for Yarn or pnpm. Remove an override once the upstream packages agree; leaving it in place can cause the next SDK upgrade to fail in a less obvious way.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Also popular on Amazon
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
How do I fix “Verifying prebuild support package versions are compatible”?
This check concerns packages used by prebuild, especially nested copies of @expo/config-plugins. A typical older log looks like:
✖ Verifying prebuild support package versions are compatible failed
Expected package @expo/config-plugins@~6.0.0
Found invalid:
@expo/[email protected]
Run npm ls @expo/config-plugins (or the equivalent why command) and follow the dependency chain. One documented SDK 48 case found a project-local eas-cli pulling an older config-plugins package. Removing that application dependency and installing the CLI globally resolved the duplicate tree:
yarn remove eas-cli
npm install --global eas-cli
npx expo-doctor@latest
The exact versions in that example are historical; your Doctor output is authoritative. A build may still succeed while Doctor fails because Doctor is a health check that catches a risky dependency graph before a native build exposes it.
How do I fix “Check Expo config for common issues”?
This check reads app.json, app.config.js, or app.config.ts and validates that the resolved configuration is internally consistent. Copy the entire warning, because the repair differs between a dynamic-config problem, generated native folders and an invalid property.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
A common warning is:
You have an app.json file in your project, but your app.config.js is not using the values from it.
If you intentionally extend app.json, make the function receive Expo’s base configuration and return it with explicit overrides:
module.exports = ({ config }) => ({
...config,
// intentional overrides here
});
Verify the effective result before and after the change:
npx expo config --type public --json
For projects using Continuous Native Generation (CNG), Doctor also warns when committed android or ios directories are not ignored while an app config file exists. In that arrangement, Expo Build cannot reliably sync config fields into native projects. The normal SDK-upgrade action is to delete generated native directories and let npx expo run:ios, npx expo prebuild or Expo Build regenerate them.
If you deliberately maintain native folders yourself, you can disable only this sub-check:
{
"expo": {
"doctor": {
"appConfigFieldsNotSyncedCheck": {
"enabled": false
}
}
}
}
Do this only when the team owns synchronization manually. A bare or committed-native project should instead use npx pod-install and the SDK’s native-project upgrade helper; do not blindly run prebuild --clean over hand-maintained native edits.
How do I remove a leftover config plugin?
When a package is uninstalled, its string can remain in the plugins array. Expo then tries to load a plugin that no longer exists. Search app.json, app.config.js and app.config.ts for plugin names associated with removed packages, delete stale entries, and run:
npx expo config --type public
npx expo-doctor@latest
If the plugin is still required by a transitive native package, reinstall the package with npx expo install <package> rather than adding an arbitrary plugin string.
Also popular on Amazon
- Portable and powerful USB-C HUB: BENFEI USB Type-C HUB, with super-soft and knot-free silicone woven design cable, meets most mobile office needs. Compact, lightweight, stylish, and powerful portable USB C Hub equipped with 1 x HDMI port, 1 x 100W charging, and 3 x USB ports. 18-month warranty, 24-hour response, to ensure you feel at ease when using our product.
- Design centered on comfort and reliability: Thanks to BENFEI's end-to-end in-house cable production capability, in-house PCBA and assembly capability, using the industry's most advanced silicone woven design and process, 20cm cable in length, no knots, super-soft, the HUB is easy to use in all scenarios: laptop, tablet, stand etc. Super-soft, 25000+ life cycles, to meet your daily carrying and office needs.
- 100W Charging: Support up to 90W USB C pass-through charging via Type-C port to keep your laptop powered. 10W is reserved for other interface operations. No data and video function on the Type-C port.
- 4K HDMI Display: The HDMI port supports media display at resolutions up to 4K 30Hz, keeping every incredible moment detailed and ultra vivid. Please note that the C port of the Host device needs to support video output.
- Transfer Files in Seconds: Transfer files and from your laptop at speeds up to 10 Gbps with USB A 3.2 port. Extra 2 USB A 2.0 ports are perfectly for your keyboards and mouse.
What should I do about React Native Directory warnings?
Doctor’s React Native Directory check is enabled by default in current Expo documentation and warns when a package is unknown or has incomplete metadata in React Native Directory. “Unknown” is not automatically “broken”; it means the directory cannot verify its status.
Configure the check in package.json when you have reviewed a package and want to control reporting:
{
"expo": {
"doctor": {
"reactNativeDirectoryCheck": {
"enabled": true,
"exclude": ["/foo/", "bar"],
"listUnknownPackages": true
}
}
}
}
Use an exclusion for a known internal or intentionally unlisted package, and keep the package’s README or issue tracker as the source for New Architecture support. The npm readme has used EXPO_DOCTOR_ENABLE_DIRECTORY_CHECK wording that may lag the current docs; prefer the documented package.json configuration.
How do I handle packages that do not support the New Architecture?
Doctor can flag packages known to be incompatible with React Native’s New Architecture. Check the package’s current documentation and issue tracker, then decide whether to upgrade, replace or temporarily avoid enabling the architecture. Do not combine an SDK upgrade and a New Architecture migration if you need an easy rollback.
Expo’s SDK-upgrade troubleshooting guidance recommends separating those changes so a regression can be attributed to one cause. After changing a native package, run Doctor, export the app and perform the native build steps appropriate to your workflow.
Recommended Free Tools
Is an Expo Router or React Navigation “minor version mismatch” a real error?
On SDK 54, the Doctor sub-check for Expo Router and React Navigation could flag pinned versions that were nevertheless inside Expo Router’s declared semver ranges. Expo maintainer guidance on issue 45379 calls the check obsolete in SDK 56 and says it was removed starting with SDK 56.
If you must remain on SDK 54, use the range floor suggested by the project or add the affected packages to expo.install.exclude after reviewing the risk. The durable fix is an incremental upgrade to SDK 56 or later, not repeatedly forcing unrelated navigation packages to latest.
How should I upgrade Expo and use Doctor as a gate?
Upgrade one SDK major at a time. Expo’s official walkthrough says incremental upgrades make it easier to pinpoint breakages.
- Start from a clean Git tree and record the current Doctor output.
- Install the next SDK line. The November 2026 example is
npm install expo@^58.0.0; use the matching command for Yarn, pnpm or Bun when that is your actual target. - Realign dependencies with
npx expo install --fix. - Run
npx expo-doctor@latestand resolve every named check. - Regenerate native projects for CNG by deleting generated
androidandiosdirectories, or follow the native upgrade helper and runnpx pod-installfor committed native projects. - Read the target SDK changelog’s “Upgrading your app” section.
A practical post-fix gate is to confirm patches still apply, run npx tsc --noEmit, export the app, start Metro, and perform a real native run. Those steps validate the application; Doctor only validates the health checks it knows about.
Why does clearing the Metro cache not fix Expo Doctor?
Doctor reads package manifests, lockfiles, configuration and the installed dependency graph. Clearing Metro’s cache does not rewrite package.json or change an incompatible version, so it is the wrong first response to a red Doctor check.
After the dependency and configuration checks are green, refresh a running bundler with:
Also popular on Amazon
- 【Read before You Buy】 Note: This adapter is USB 2.0 version and cannot transmit HDM, VGA, or other video signals. Nevertheless, they are fully capable of charging devices,duplicating files, and can be seamlessly integrated with USB-C earphones, wireless network adapters, and SD card adapters.
- 【Easy to Use and Safe】Thanks to modern manufacturing techniques, we've made these adapters sufficiently compact so that they can remain inserted in your device without noticeable protrusion or inconvenience. This means you don't have to constantly plug and unplug them, reducing the likelihood of wear and misalignment, and making them more convenient to carry around.
- 【Reliable Quality】Engineered for enhanced durability, durable aluminum alloy shell material,get excellent wear resistance and heat dissipation,the male USB C and female USB connectors & the male USB and female USB C connectors are designed to be plugged and unplugged up to 20000 times. Provides data transfer, device charging, memory space expansion, and additional computer peripherals.
- 【Think more for you】Do you need to connect a USB-C-enabled device to an odd device that only has USB-A ports? Then these USB-A male to USB-C female adapters are made for you.Simply insert the adapter into the USB-A port on the device, and you can instantly connect your USB-C device to the device that originally didn't have the correct connection port.
- 【Trusted xiwxi Quality and Service】As a responsible brand seller, you will receive xiwxi's 12-month Quality assurance and lifetime friendly customer service, you're not just buying a product,you're investing in peace of mind with all-round quality and exceptional customer service.
npx expo start -c
If the app still shows a React Native mismatch after Doctor is clean, Expo’s troubleshooting page lists a more disruptive reset for macOS or Linux:
rm -rf node_modules
npm cache clean --force
npm install
watchman watch-del-all
rm -rf $TMPDIR/haste-map-*
rm -rf $TMPDIR/metro-cache
npx expo start --clear
In a monorepo, deleting the lockfile can change many workspace resolutions, so try reinstalling from the existing lockfile first and review the resulting diff carefully. For CNG local compiles, npx expo prebuild --clean is useful only after you have confirmed that native folders are generated rather than manually maintained.
Free tools Windows power users keep installed
One-click scans. No signup required.
What if Doctor is green but the app still fails?
A green Doctor run means the known health checks passed; it is not a build, type-check or runtime guarantee. Confirm the effective config, reinstall only when the install tree is demonstrably corrupt, clear Metro after package changes, and test the native workflow separately.
For a repeatable upgrade record, keep package.json and the lockfile in the same commit, review any resolutions or overrides, and note intentional entries in expo.install.exclude. If you use cloud build, submit or update only after the local Doctor result and native project state are understood; those services are follow-on workflow steps, not repairs for a red check.
Quick decision tree for the red ✖ line
- “Packages match versions required by installed Expo SDK”: run
npx expo install --check, then--fix; inspect exclusions and overrides. - Duplicate native modules: run
npm why,yarn why,pnpm whyorbun pm why; dedupe or remove the conflicting dependency. - Prebuild support package versions: inspect
@expo/config-plugins; remove a project-local CLI copy that pulls an old version. - Common project configuration problems: compare the resolved public config, dynamic config and native-folder strategy.
- Missing plugin: remove a plugin entry left behind after uninstalling its package.
- React Native Directory: verify the package independently, then configure a narrow exclusion if it is intentionally unknown.
- New Architecture warning: check the package maintainer’s support status and separate that migration from the SDK bump.
- SDK 54 navigation minor mismatch: treat it as the known obsolete sub-check; upgrade incrementally or use a documented exclusion.
Run npx expo-doctor@latest after every branch. The goal is not to make the output look green by disabling checks; it is to leave a dependency tree and configuration that match the native code you intend to build.
Frequently Asked Questions
Can I run Expo Doctor in CI?
Yes. Run npx expo-doctor@latest from the workspace that owns the app and fail the job when its exit status is nonzero. Keep intentional exclusions and any last-resort skip variable documented in version control so CI does not silently hide a future SDK mismatch.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Does Expo Doctor update my packages automatically?
No. Doctor diagnoses and recommends; npx expo install --fix performs the dependency realignment. Review the package and lockfile diff before committing, especially in a monorepo or a project with native modules.
Why does Expo Go say the project is incompatible after Doctor passes?
Expo Go compatibility follows the SDK bundled in the installed Expo Go client, while Doctor checks your project files and dependency graph. If the app targets a different SDK, use a matching development build or upgrade the project and its native dependencies incrementally.
Should I delete android and ios after every SDK upgrade?
Only generated CNG folders should be routinely deleted and regenerated. If those directories contain hand-maintained native changes, keep them and follow the SDK’s native upgrade instructions instead of using prebuild --clean blindly.
Where can I see exactly what Expo configuration Doctor resolves?
Run npx expo config --type public --json. Comparing that output before and after an app.config.js change reveals whether values from app.json, environment variables and overrides are actually being carried into the public configuration.

