发布npm包时报错:You do not have permission to publish “package-demo“.

Posted 圆滚滚的胖狸

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了发布npm包时报错:You do not have permission to publish “package-demo“.相关的知识,希望对你有一定的参考价值。

错误信息:

npm ERR! publish Failed PUT 403
npm ERR! code E403
npm ERR! You do not have permission to publish "package-demo". Are you logged in as the correct user? : package-demo
提示没有权限,其实就是你的module名在npm上已经被占用啦,这时候你就去需要去npm搜索你的模块名称,如果搜索不到,就可以用,并且把package.json里的name修改过来,重新npm publish,看到如下信息就表示安装完成了。

转自:发布npm包时报错:You do not have permission to publish "package-demo"._一个慢的博客-CSDN博客 

以上是关于发布npm包时报错:You do not have permission to publish “package-demo“.的主要内容,如果未能解决你的问题,请参考以下文章

win10 64SQLServer2008安装时报is not a valid login or you do not have permission的解决方法

git pull 报错 You have not concluded your merge (MERGE_HEAD exists).

Zabbix You do not have the SUPER privilege and binary logging is enabled

You do not have the SUPER privilege and binary logging is enabled解决方法

You do not have the SUPER privilege and binary logging is enabled解决方法

GIT error: You have not concluded your merge (MERGE_HEAD exists)