-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] npm outdated does not list global installed packages #6098
Comments
imo |
The objective of running npm-outdated for global packages is to check if we have the latest version available. Otherwise there is no easy way of checking for updates. This should be supported |
I can't reproduce this.
Are you using |
Nope. I never installed nvs. I'm using nvm. I'm on windows though. You seem to be on linux |
nvm-windows, or actual nvm? |
nvm-windows |
I'm having the same issue. As part of q-nick/npm-gui#89 I tried to research a little. These are my findings: Nodejs version v18.11.0. NPM version 9.4.1. I also have nvm-windows installed. Version 1.1.10. Weirdly enough, npm-check-updates does detect updates correctly.
Click here to see output from
|
Happens to me with nvm-windows and fnm on Windows 11. On Node.js 20.14.0, fnm 1.37, npm 10.8.1 |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I have installed [email protected] globally by running
npm install -g [email protected]
. Runningnpm help outdated
shows me the documentation, which lists global as a valid option. So I tried to run:But it outputs nothing. Running all the possible variations:
None of them give any output. I expected to see the available upgrade to [email protected]
Expected Behavior
Steps To Reproduce
npm install -g [email protected]
npm outdated -g
Environment
I installed node through nvm 1.1.9
The text was updated successfully, but these errors were encountered: