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

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 - 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.