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在你發(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,需要重新輸入一次相關信息)

以上內(nèi)容自: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ā)者

最后編輯于
?著作權歸作者所有,轉載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

友情鏈接更多精彩內(nèi)容