NPM Publish Registry-禁止403-“您无权发布“ ...” [英] NPM Publish Registry - 403 Forbidden - "You don't have permission to publish "..."

查看:860
本文介绍了NPM Publish Registry-禁止403-“您无权发布“ ...”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图将软件包发布到NPM注册表中。

我收到一个错误,我不允许将软件包推送到注册表中。

I've been trying to publish my package to the NPM Registry.
I get an error that I am not allowed to push my package to the registry.

403禁止-放置https://registry.npmjs.org/qdb-您无权发布 qdb。您是否以正确的用户身份登录?

我想知道为什么。

如果有人有答案,那么我会很感激。

I wonder why.
If anyone has an answer, then I will be grateful.

预先感谢。

= ----------- ---------------------------------- = 答案

=---------------------------------------------= ANSWER

编辑-经过一些研究,我发现软件包名称 qdb( QDatabase的缩写)已在使用中。我将其更改为全名,然后很快就会看到。

Edit - After a bit of research, I saw that the package name "qdb" (short for "QDatabase") is already in use. I will change it to the full name and see shortly.

编辑两个-确实是问题所在。不管怎么说,谢谢大家!

Edit two - And that was indeed the problem. Thank you all anyways!

推荐答案

看起来这个包的名称已经被其他人发布了,所以您需要在package.json文件中使用其他名称,然后再次 npm发布

It looks like a package with that name was already published by someone else, so you'd need to use a different name in your package.json file and then npm publish again.

其他如果您要发布已发布的版本。

Else, you can look if you're trying to publish the same version that's already published.

这篇关于NPM Publish Registry-禁止403-“您无权发布“ ...”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆