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在你發(fā)布更新包的時候會發(fā)一封郵件需要登錄郵箱
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红符,(注意如果在切換之前你已經(jīng)使用了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上這個包的名字已經(jīng)被占用了干旧,且你不是這個模塊的開發(fā)者