question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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     │
   │                                      │
   ╰──────────────────────────────────────╯
  1. installed globally (missing -g)
  2. 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:closed
  • Created 3 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
RandomBytecommented, Sep 21, 2020

it’s no longer showing the update hint

There’s a delay of 24 hours from detection until the update hint is displayed: https://github.com/yeoman/update-notifier#how

0reactions
matz3commented, Sep 22, 2020

Closing this issue, please see https://github.com/sindresorhus/global-dirs/issues/17 for further progress

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found