如何在 npmjs 上取消发布节点模块?
How can I unpublish node module on npmjs?
我想取消发布我在 npm 的个人帐户之前发布的项目 monetrum-node-client 并从公司帐户发布它。这可能吗?我在等你的帮助。
我遇到错误;
PS C:\nodejs\prod\monetrum-node-client> npm unpublish monetrum-node-
client --force
npm WARN using --force I sure hope you know what you are doing.
npm ERR! code E400
npm ERR! You can no longer unpublish this version. Please deprecate it
instead
npm ERR! npm deprecate -f 'monetrum-node-client@*' "this package has
been deprecated" : 12-7be182ce2a14ca2bb34c07a7707a75c0
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HP\AppData\Roaming\npm-cache\_logs19-04-
01T12_24_19_378Z-debug.log
PS C:\nodejs\prod\monetrum-node-client>
我该如何处理这个问题?提前致谢。
引自官方文档:
With the default registry (registry.npmjs.org), unpublish is only
allowed with versions published in the last 72 hours. If you are
trying to unpublish a version published longer ago than that, contact
support@npmjs.com.
我想取消发布我在 npm 的个人帐户之前发布的项目 monetrum-node-client 并从公司帐户发布它。这可能吗?我在等你的帮助。
我遇到错误;
PS C:\nodejs\prod\monetrum-node-client> npm unpublish monetrum-node-
client --force
npm WARN using --force I sure hope you know what you are doing.
npm ERR! code E400
npm ERR! You can no longer unpublish this version. Please deprecate it
instead
npm ERR! npm deprecate -f 'monetrum-node-client@*' "this package has
been deprecated" : 12-7be182ce2a14ca2bb34c07a7707a75c0
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HP\AppData\Roaming\npm-cache\_logs19-04-
01T12_24_19_378Z-debug.log
PS C:\nodejs\prod\monetrum-node-client>
我该如何处理这个问题?提前致谢。
引自官方文档:
With the default registry (registry.npmjs.org), unpublish is only allowed with versions published in the last 72 hours. If you are trying to unpublish a version published longer ago than that, contact support@npmjs.com.