npm ERR! code ETARGET — No matching version found for package@^9.9.9
The version range in package.json doesn’t match any published version of the package.
Seen on:
npm
Meaning
A typo in the version, a version that was never published (or was unpublished), or a private registry mirror that hasn’t synced the newest release.
Common causes
- Version doesn’t exist (typo, future version)
- Mirror/proxy registry out of date
- Dist-tag referenced that doesn’t exist
⚡ Quick fix
- Check published versions: npm view package versions
- Fix the range in package.json
- Point to the public registry or refresh the mirror
Detailed fix by platform
npm
npm view react versions --json | tail -5
How to diagnose
- Range — What does package.json request?
- Published — Which versions exist?
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 2 Oct 2026