npm login 或者 npm adduser 之后 遇见 Public registration is not allowed
其实是因为npm镜像地址有问题 使用下方指令 将镜像切回即可正确完成登录操作
npm config set registry https://registry.npmjs.org/
今天就总结到这里啦! 后续会不定时更新哦,欢迎在评论区交流。
如果文章对你有所帮助,❤️关注+点赞❤️鼓励一下!
往期回顾
vue3.x使用prerender-spa-plugin预渲染达到SEO优化
vue3.x使用prerender-spa-plugin预渲染达到SEO优化