-
Notifications
You must be signed in to change notification settings - Fork 43
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 update check for global packages #89
Comments
Hi @jerone, unfortunately, I can't find any cause for that. Would you like to share the output of a few additional commands, I need:
|
This is the log from npm-gui:
This is from
|
npm-check-updates however, is correctly detecting outdated packages:
|
There are similar issues reported:
The last issue mentions the use of nvm, which uses symlink for using the right node.js (and unassumingly also global packages). I'm using https://github.com/coreybutler/nvm-windows/ This also corresponds to this old issue: npm/npm#9564 But then again, npm-check-updates does detect updates correctly. |
@jerone I got some idea. Could you check if you have the newest version under the black button (the one with "=>" mark)? |
Weirdly enough, the following command does check for outdated packages and comes back with an huge list of outdated package.
Sadly The more I think about this, the more I'm convinced this is an NPM issue. |
Great research @jerone ! Many thanks! |
@jerone Hi, I released version 4.0.5-beta-1 which should contain a fix for this problem. Would you like to confirm? |
Hi @q-nick, I tried it just now, and this is the result: According to PS C:\Users\jerone> ncu -g
[====================] 17/17 100%
cspell 6.23.0 → 6.26.1
npm 9.4.2 → 9.5.0 Here is the log from the console when running
|
When opening npm-gui with global packages, the update check doesn't return anything:
There should be updates for:
npm-gui version 4.0.1
The text was updated successfully, but these errors were encountered: