npm ERR! You can no longer unpublish this package. #18505
Comments
same here, how to unpublish a package ? |
Similar problem. I have a package I need to unpublish. How to do it? |
There is a reason why you cannot unpublish a package:
For this reason you may only unpublish a package if it has been published in the last 24 hours. You should contact npm to have an older version unpublished:
|
@warpdesign fare point what if you want to actually remove a package not just deprecating it. What if that library wasn't mean to be published?. |
@cryst10 Email support@npmjs.com and perhaps they can accomodate. |
Ok thanks all, I will close this issue when I get a reply. |
It makes sense that before unpublishing a module you'd have to consider the amount of people or devs depending on it. |
npm -v
: 4.2.0node -v
: v7.8.0npm config get registry
: https://registry.npmjs.org/I have a package on npm that I'd like to remove:
After doing the unpublish command I get the following errors:
I am not sure of what's going on and would like to know why.
But my questions are:
Why can't unpublish a package?
Why does the command default to deprecate?
docs.npmjs.com is scarse I found it difficult when it comes to unpublishing packages and can it be improved?
Why hasn't this been fixed as there' been similar issues in past?
The text was updated successfully, but these errors were encountered: