Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when npm unpublish package, show 422 Unprocessable Entity #7229

Closed
tclxjiaxing-huang opened this issue Feb 19, 2024 · 5 comments
Closed

when npm unpublish package, show 422 Unprocessable Entity #7229

tclxjiaxing-huang opened this issue Feb 19, 2024 · 5 comments

Comments

@tclxjiaxing-huang
Copy link

tclxjiaxing-huang commented Feb 19, 2024

How to handle this error
image

@ljharb
Copy link
Contributor

ljharb commented Feb 19, 2024

Don’t use force with unpublish; if it doesn’t work without that, then it’s not unpublishable.

@tclxjiaxing-huang
Copy link
Author

Don’t use force with unpublish; if it doesn’t work without that, then it’s not unpublishable.

if it’s not unpublishableso, how can I unpublish, I am sure the package need to unpublish.

@ljharb
Copy link
Contributor

ljharb commented Feb 20, 2024

You can’t. Packages are not permitted to be unpublished after 72 hours, or, if it has a certain number of dependents/installs.

@wraithgar
Copy link
Member

Please use the template when filling out a bug report.

This is the npm registry telling you that you can not unpublish. It is not a cli bug.

@Iswaryasl
Copy link

But i m trying to unpublish the package which s published just an hr ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants