1:Package name triggered spam detection; if you believe this is in error, please contact support@npmjs.com : xxx
解决方案:你的名字看上去很奇怪,需要修改名字
2:you must verify your email before publishing a new package: https://www.npmjs.com/email-edit : xxx
解决方案:npm在你发布更新包的时候会发一封邮件需要登录邮箱
3:rivate mode enable, only admin can publish this module [no_perms] Private mode enable, only admin can publish this module: xxx
解决方案:如果之前使用了taobao或者cnpm需要切换到npm,在npm config list可以看到你的register地址。如果不对需要npm config set registry http://registry.npmjs.org切换至npmjs,(注意如果在切换之前你已经使用了npm adduser,需要重新输入一次相关信息)
发布Npm时的一些问题
最新推荐文章于 2021-12-15 18:17:46 发布