-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG] ETARGET No matching version found after version update; cache clear helps #7604
Comments
I will check if that is caused by |
@mo22 works fine for me. Is it happening for any packages or just this specific one ? ~/workarea/rep/temp $ npm install @radix-ui/react-accordion@1.1.0 --prefer-offline
added 21 packages, and audited 22 packages in 3s
found 0 vulnerabilities
~/workarea/rep/temp $ npm install @radix-ui/react-accordion@1.2.0 --prefer-offline
removed 2 packages, changed 14 packages, and audited 20 packages in 1s
found 0 vulnerabilities |
@milaninfy it happens to all packages; if the version is not yet released at the time of install (independent of the version to be installed) and later upgraded it happens to me, often when I run Strangely I have tested it right now with an npm package published by me - clear npm cache, install version, release newer version and run npm-check -u and upgrade the package, worked without issues right now. I will investigate further |
I can confirm that it only happens if I have I believe that setting causes So |
@mo22 then it's not an issue, if the cache is already there and you are using |
I assume you are right. |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
when updating to newer versions of packages:
the result is:
npm log:
after running
npm cache clear --force
the command runs through fine.Expected Behavior
npm command succeeding without cache clear
Steps To Reproduce
npm init npm install some-package # wait for some-package to be updated npm install some-package@new-version
Environment
npm --version: 10.8.1
node --version: v22.3.0
mac intel 14.5
npm config:
The text was updated successfully, but these errors were encountered: