'ERR! 426 Upgrade Required, when I interact with the npm registry

When I try to publish a new package to npm or try to logout, I get the following error message:

npm ERR! code E426
npm ERR! 426 Upgrade Required
npm


Solution 1:[1]

Robin Wieruch was right, this problem confused me today

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 AlanChen