我正在尝试将一个模块推送到 npm,但在运行npm publish
它时返回以下错误,我尝试了每个建议的示例和解决方案,但无法解决这个问题。
我也尝试过 -->在尝试将新包发布到 NPM 时出现 404但没有解决方案。我已经向 npm 发送了几个模块,但从未遇到过这个问题。
npm ERR! publish Failed PUT 404
npm ERR! code E404
npm ERR! 404 User not found : <package-name>
npm ERR! 404
npm ERR! 404 '<package-name>' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
提前致谢。