关于npm登录出现403问题报错解决
npm ERR! code E403npm ERR! 403 403 Forbidden - PUT https://registry.npmmirror.com/-/user/org.couchdb.user:junhui123! - [FORBIDDEN] Public registration is not allowednpm ERR! 403 In most cases, you or
·
npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmmirror.com/-/user/org.couchdb.user:junhui123! - [FORBIDDEN] Public registration is not allowed
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to
网上大多解决方案是将npm使用镜像指向taobao镜像报错原因所以一直困扰没有方向,查看镜像然后为镜像错误只需要执行npm config set registry https://registry.npmjs.org/将镜像切回即可正确完成登录操作
大功告成!
更多推荐
已为社区贡献1条内容
所有评论(0)