排查 Node.js 软件包问题
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如果您在 Artifact Registry 中管理 Node.js 软件包时遇到问题,请查阅以下实用的问题排查步骤。
无法覆盖软件包的现有版本
您只能发布一次软件包的特定版本。这是一种 npm 限制,可确保已发布的软件包版本的内容始终相同,并防止依赖项被篡改。
因此,您无法:
- 通过将软件包版本再次发布到代码库来覆盖此版本
- 从代码库中移除软件包或其版本,然后发布具有相同名称和版本号的软件包
标记可以帮助您在特定开发阶段简化软件包的安装。如需了解如何在发布和安装软件包时使用标记,请参阅管理 Node.js 软件包。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-09。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{"lastModified": "\u6700\u540e\u66f4\u65b0\u65f6\u95f4 (UTC)\uff1a2023-12-09\u3002"}