呃!尝试将软件包发布到npm时为403 [英] ERR! 403 when trying to publish a package to npm

查看:85
本文介绍了呃!尝试将软件包发布到npm时为403的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将软件包发布到npm.您可以在此处查看存储库: https://github.com/biowaffeln/mdx-state

I'm trying to publish a package to npm. You can see the repository here: https://github.com/biowaffeln/mdx-state

我使用 npm login 登录到npm,然后运行 npm publish 并收到以下错误消息:

I logged in to npm with npm login, then I ran npm publish and got the following error message:

npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/mdx-state - Forbidden
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy.

我不知道那是什么意思.我想念什么?

I have no idea what that's supposed to mean. What am I missing?

推荐答案

好的,我发现了问题.显然,我没有验证我的电子邮件地址,所以这就是为什么我没有上传软件包的权限.谈论无用的错误消息!

Okay, I found the problem. Apparently, I didn't verify my email address, so that's why I didn't have the permission to upload packages. Talk about an unhelpful error message!

这篇关于呃!尝试将软件包发布到npm时为403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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