运行npm发布时出现无法解释的错误

k7fdbhmy  于 2023-03-12  发布在  其他
关注(0)|答案(1)|浏览(128)

多年来,我一直每周发布这个包。今天,当我试图增加版本并发布时,我得到了一个错误:

npm notice name:          mypackagename
npm notice version:       6.18.4
npm notice package size:  1.9 MB
npm notice unpacked size: 6.6 MB
npm notice shasum:        897897897987897897
npm notice integrity:     789978979797979799
npm notice total files:   247
npm notice
This operation requires a one-time password.
Enter OTP: 123456
npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/mypackagename - unexpected status code from "replace-packument" = 403
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.

我已经检查了版本号是否唯一,我已经尝试从6.18.3升级到6.18.4,没有任何更改。我从未见过此错误,也不知道如何调试它。

2w3kk1z5

2w3kk1z51#

带着同样的问题来到这里,看起来他们有问题:https://status.npmjs.org/

相关问题