ETARGET 📦 npm

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

  1. Check published versions: npm view package versions
  2. Fix the range in package.json
  3. Point to the public registry or refresh the mirror

Detailed fix by platform

npm

  1. npm view react versions --json | tail -5

How to diagnose

  1. Range — What does package.json request?
  2. 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.