npm ERR! 403 403 Forbidden - PUT https://reg

 时间:2024-10-15 08:10:43

1、npm publish之后,老是报错

npm ERR! 403 403 Forbidden - PUT https://reg

2、如下图

npm ERR! 403 403 Forbidden - PUT https://reg

3、npm ERR! code E403npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/learnnode - You do not have permission to publish "learnnode". Are you logged in as the correct user?npm ERR! 403 In most cases, you or one of your dependencies are requestingnpm ERR! 403 a package version that is forbidden by your security policy.npm ERR! A complete log of this run can be found in:

npm ERR! 403 403 Forbidden - PUT https://reg

4、在网上查了一下资料,原来是package.json里面的包名在npm上已经存在,所以要修改一下

npm ERR! 403 403 Forbidden - PUT https://reg

5、重新上传就成功了

npm ERR! 403 403 Forbidden - PUT https://reg
  • Google Chrome ~设置打印当前网页的排版
  • 易语言算数运算:[12]置随机数种子
  • Sublime如何快速进行代码折叠
  • Windows Server 2012系统安装方法
  • labview读取TCP助手数据的一种方法
  • 热门搜索
    卫生健康手抄报 保护动物手抄报资料 关于俄罗斯的手抄报 元宵节手抄报英语版 感恩亲情手抄报 小学生法制手抄报资料 只要妈妈露笑脸手抄报 感恩的心手抄报大全 以书为友手抄报 舌尖上的年味手抄报