多年来,我一直每周发布这个包。今天,当我试图增加版本并发布时,我得到了一个错误:
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,没有任何更改。我从未见过此错误,也不知道如何调试它。
1条答案
按热度按时间2w3kk1z51#
带着同样的问题来到这里,看起来他们有问题:https://status.npmjs.org/