执行命令npm publish报错:403 Forbidden - PUT https://registry.npmjs.org/kunmomotest2 - You cannot publish over the previously published versions: 0.0.1.

前言

执行命令npm publish报错:403 Forbidden - PUT https://registry.npmjs.org/kunmomotest2 - You cannot publish over the previously published versions: 0.0.1.

原因

不能在以前发布的版本上发布:0.0.1,所以我们需要升版本,更改包的package.json文件的版本号,然后重新发布

posted @   坤嬷嬷  阅读(7594)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示