Incorrect update hint for global installs
See original GitHub issue➜ ~ ui5 --version
1.13.1 (from /home/linuxbrew/.linuxbrew/lib/node_modules/@ui5/cli/bin/ui5.js)
╭──────────────────────────────────────╮
│ │
│ Update available 1.13.1 → 2.4.4 │
│ Run npm i @ui5/cli to update │
│ │
╰──────────────────────────────────────╯
- installed globally (missing -g)
- major version update requires explicit major version to be specified. see https://docs.npmjs.com/cli-commands/update.html#updating-globally-installed-packages
FYI npm i -g @ui5/cli@latest
doesn’t upgrade a major version either. npm i -g @ui5/cli 2
will update to latest (2.4.4).
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
node.js - How do you fix npm WARN config global `--global ...
My solution to solve this problem: Go to C:\Program Files\nodejs. Edit 4 files named npm, npm.cmd, npx, npx.cmd. Open files in VS Code....
Read more >Troubleshoot problems updating Windows - Microsoft Support
Learn how to troubleshoot problems updating Windows. Find answers to common questions and issues installing Windows updates.
Read more >Update error occurs when trying to update to latest version ...
Start the update process and an error message stating "installation will continue when device isn't being used.to install now tap resume" the update...
Read more >[SOLVED] EAC Launch Error: Easy Anti-Cheat is Not Installed
Go back to Library > Properties > BATAS, click the drop-down list and select None. Allow the download and update to finish. Then...
Read more >PIN or Password is incorrect even if it is correct in Windows 10 ...
How to FIX: The Password or PIN is incorrect after installing updates in Windows 10. ... Note – Suggestion: The reported issue usually...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There’s a delay of 24 hours from detection until the update hint is displayed: https://github.com/yeoman/update-notifier#how
Closing this issue, please see https://github.com/sindresorhus/global-dirs/issues/17 for further progress