[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[[["\u003cp\u003eYou can only publish a specific version of a Node.js package once due to npm restrictions.\u003c/p\u003e\n"],["\u003cp\u003eOverwriting an existing package version by republishing it is not allowed.\u003c/p\u003e\n"],["\u003cp\u003eRemoving a package and then publishing a new one with the same name and version number is also not allowed.\u003c/p\u003e\n"],["\u003cp\u003eTags can assist with managing the installation of packages at different development stages.\u003c/p\u003e\n"]]],[],null,["# Troubleshoot Node.js package issues\n\nLearn about troubleshooting steps that you might find helpful if you run into\nproblems managing Node.js packages in Artifact Registry.\n\n### Can't overwrite an existing version of a package\n\nYou can only publish a specific version of a package once.\nThis is an [npm restriction](https://blog.npmjs.org/post/77758351673/npm-publish-f)\nto ensure that the contents of a published package version are always the same,\nand to prevent tampering with dependencies.\n\nAs a result, you cannot:\n\n- Overwrite a package version by publishing it again to the repository\n- Remove a package or its version from the repository, and then publish a package with the same name and version number\n\nTags can help you streamline installation of packages at a\nspecific stage of development. For information about working with tags when you\npublish and install package, see [Managing Node.js packages](/artifact-registry/docs/nodejs/manage-packages)."]]