1、执行 npm adduse,输入账号、密码后失败

提示如下:

 

是由于使用的淘宝源的原因

 解决方法:

nrm ls

npm ---------- https://registry.npmjs.org/
yarn --------- https://registry.yarnpkg.com/
tencent ------ https://mirrors.cloud.tencent.com/npm/
cnpm --------- https://r.cnpmjs.org/
taobao ------- https://registry.npmmirror.com/
npmMirror ---- https://skimdb.npmjs.com/registry/
yeahka ------- http://registry.npm.lepass.cn/

nrm use npm后重试即可

posted on 2022-06-06 15:23  Jack·zhou  阅读(122)  评论(0编辑  收藏  举报