npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Accidental Package Publish - Please Remove - blitzbot

I mistakenly published https://www.npmjs.com/package/blitzbot.

There is no reason for this package to be on the repository. Please help me remove it.


For short while after publish (72 hours) there is:

npm unpublish [<@scope>/]<pkg>[@<version>]

This removes a package version from the registry, deleting its entry and removing the tarball.


I get an error based on the package version.

$ npm unpublish --force blitzbot
npm ERR! code E400
npm ERR! 400 Bad Request - DELETE https://registry.npmjs.org/blitzbot/-rev/3-203a64f8f5183307f84f42b375a23178 - You can no longer unpublish this version. Please deprecate it instead
npm ERR! npm deprecate -f 'blitzbot@*' "this package has been deprecated"

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/code_m/.npm/_logs/2019-03-21T13_23_41_081Z-debug.log


Hi there,

We’ve received your Support request and will be answering there shortly.

Thank you.