[npm] Npm adduser or npm login reports an error, and npm login cannot log in to solve the problem.

Solution:

npm config set registry https://registry.npmjs.org 

Tip: Then you need to enter the user name, password, and email address once, which are all the information when you register npm. Later, when you enter the password, you find that you can’t enter it anyway. After a lot of work, you find that the password is hidden.

Guess you like

Origin blog.csdn.net/weixin_45932157/article/details/130795582
NPM