# npm ERR! code ETARGET — No matching version found for package@^9.9.9

**Code:** `ETARGET` · **Category:** npm · **Seen on:** npm

The version range in package.json doesn’t match any published version of the package.

## 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?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/npm/etarget-no-matching-version)
