记录npm publish错误解决方案:
- 报错信息
you or one of your dependencies are requesting a package version that is forbidden by your security policy
- 修复方法
- 用了淘宝镜像源 - 换成npm的源
- 包名重复 - 删掉之前的包,改个名字
- npm账户没有验证邮箱 - 验证邮箱
- vpn冲突 - 关掉所有vpn再次尝试
- npm没有验证邮箱
you or one of your dependencies are requesting a package version that is forbidden by your security policy
本文标题:npm publish发布报错
本文链接:https://www.haomeiwen.com/subject/qdeffrtx.html
网友评论