yarn publish

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,需要重新输入一次相关信息)

以上内容自:https://blog.csdn.net/qq_39567879/article/details/90903501


You do not have permission to publish \"yang\". Are you logged in as the correct user?"

info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.

意思在npm上这个包的名字已经被占用了,且你不是这个模块的开发者

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。