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/将镜像切回即可正确完成登录操作正确登录
大功告成!

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐