DSH Toolbox

no matching version found for @deepseek-ai/dsh@*

npm resolves a version range against exactly one registry. If that registry returns no candidates, the install stops before writing anything, and the profile is left untouched.

The package exists. @deepseek-ai/dsh has 48 published versions; the latest tag points at 0.2.2-rc.5, published 2026-11-18. So this message is about the resolver, not about a missing package.

The error, verbatim

npm prints the package name and the range it tried to satisfy. The @* after the name is the range, not part of the package name.

First: which registry answered

Run these two and compare. If the first line is not https://registry.npmjs.org/, the CLI is reading a mirror.

npm config get registry
npm view @deepseek-ai/dsh dist-tags --registry=https://registry.npmjs.org

Case 1 — the mirror has not synced yet

What you see: the direct query against npmjs.org prints versions, but the install still fails.

npmmirror and cnpm sync on a delay. A release published hours ago can still be absent from the mirror, and the mirror answers "no matching version" rather than "not synced yet".

npm install @deepseek-ai/dsh@latest --registry=https://registry.npmjs.org

Case 2 — a lockfile pins a version that is gone

What you see: installing the project fails while installing the package on its own succeeds.

package-lock.json and pnpm-lock.yaml record exact versions. If that version was unpublished, npm asks for it by name and gets nothing back, even though newer versions exist.

Look for the pinned line before regenerating anything:

grep -n "deepseek-ai/dsh" package-lock.json | head
# pnpm
grep -n "deepseek-ai/dsh" pnpm-lock.yaml | head

Case 3 — the range admits nothing

The stable line tops out at 0.2.2-rc.5 and the alpha line at 0.2.3-alpha.2. A range like ^0.3.0 has nothing to match, and a range that only admits pre-releases has to spell the pre-release out.

npm view @deepseek-ai/dsh versions --json | tail -20

Then retry and confirm

Clear the cached metadata, install by tag, and check which version landed.

npm cache clean --force
npm install @deepseek-ai/dsh@latest
npm ls @deepseek-ai/dsh

Common questions

Is the package deprecated or renamed?

No. It is published and current: 48 versions, latest 0.2.2-rc.5. Nothing in the registry points at a rename.

Does @* match pre-release versions?

It matches whatever the registry advertises for that package. When nothing matches at all, the resolver never gets to compare versions — the registry returned no candidates.

Can this break an already installed profile?

No. Resolution happens before install, so a failure here leaves the profile directory exactly as it was.