前言 执行命令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文件的版本号,然后重新发布…
前言 执行npm publish 报错:403 Forbidden - PUT https://registry.npmjs.org/kunmomotest - you must verify your email before publishing a new package: https://www.npmjs.com/email-edit 原因 邮箱未验证…
今天npm install总是报错:unable to verify the first certificate(无法验证第一证书),查了一下发现 As of February 27, 2014, npm no longer supports its self-signed certificates. 2014年2月27日,npm不再支持自签名证书. 因为npm install走的是https协议,需要通过数字证书来保证的 解决方法1: 取消ssl验证:npm config set strict…