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

No updates for global installed npm package #767

Closed
3 tasks done
nesc58 opened this issue Nov 13, 2020 · 3 comments
Closed
3 tasks done

No updates for global installed npm package #767

nesc58 opened this issue Nov 13, 2020 · 3 comments

Comments

@nesc58
Copy link

nesc58 commented Nov 13, 2020

  • I have searched for similar issues
  • am using the latest version of npm-check-updates
  • am using node >= 10.17

Steps to Reproduce

Installed versions

npm list -g
C:\Program Files\nodejs
+-- npm-check-updates@10.0.0
`-- npm@7.0.8
node -v
v15.2.0

Execute ncu -g

Current Behavior

ncu -g
[====================] 2/2 100%

All global packages are up-to-date :)

Expected Behavior

Should show npm updates.
Current npm version is 7.0.10

In earlier versions npm updates are listed when executing ncu -g.

@raineorshine
Copy link
Owner

raineorshine commented Nov 13, 2020

This is likely due to a bug in npm v7-v7.0.10. See npm/cli#2155.

As soon as that PR is merged and published, it should work. In the mean time, you can use npm v6.

It still might be useful for you to post the following information, just to be sure it's not an issue with having multiple versions of npm installed.

  • which npm
  • which ncu
  • npm prefix -g

@XhmikosR
Copy link
Collaborator

@raineorshine this should be fixed upstream AFAICT.

@raineorshine
Copy link
Owner

Great!

@nesc58 Let us know if it's still an issue for you.

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

No branches or pull requests

3 participants