Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot update [email protected] #164

Open
wick3ds0ul opened this issue Nov 14, 2024 · 1 comment
Open

Cannot update [email protected] #164

wick3ds0ul opened this issue Nov 14, 2024 · 1 comment

Comments

@wick3ds0ul
Copy link

wick3ds0ul commented Nov 14, 2024

Using node version: v16.20.1

Trying to override cross-spawn to version 7.0.5 which is latest.

My package.json looks something like this.

{
"overrides": {
  "cross-spawn": "7.0.5"
 }
}

When I run this command npm i. I get this error.

npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected].
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

I have checked that 7.0.5 exists with

npm show cross-spawn versions

Version Logs

[
  '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4',
  '0.1.5', '0.1.6', '0.1.7', '0.2.0', '0.2.1',
  '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6',
  '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.4.0',
  '0.4.1', '1.0.0', '1.0.1', '1.0.2', '1.0.3',
  '1.0.4', '2.0.0', '2.0.1', '2.1.0', '2.1.1',
  '2.1.2', '2.1.3', '2.1.4', '2.1.5', '2.2.0',
  '2.2.2', '2.2.3', '3.0.0', '3.0.1', '4.0.0',
  '4.0.2', '5.0.0', '5.0.1', '5.1.0', '6.0.0',
  '6.0.1', '6.0.2', '6.0.3', '6.0.4', '6.0.5',
  '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.0.4',
  '7.0.5'
]

Note: I am trying to update the transitive dependency. This package is not being used as direct dependency.
I have tried installing with, doesnt work either

Can someone help on this?

@satazor
Copy link
Contributor

satazor commented Nov 18, 2024

Are you using a private registry that mirrors public registry?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants