Skip to content
Discussion options

You must be logged in to vote

I found a workaround: while you can't run npm unpublish --force to delete the entire package, you can unpublish a specific version using npm unpublish <package-name>@<version>. However, npm requires you to keep the latest version. So I just need to clear the content of that version. Even if someone installs my package, they won't see the actual content.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@VIDAKHOSHPEY22
Comment options

@lahiruchinthana
Comment options

@polarrwl2023
Comment options

Answer selected bypolarrwl2023
@lahiruchinthana
Comment options

Comment options

You must be logged in to vote
3 replies
@polarrwl2023
Comment options

@MOHAMED-LAAGUILI
Comment options

@MOHAMED-LAAGUILI
Comment options

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Category
npm
Labels
QuestionAsk and answer questions about GitHub features and usagenpmDiscussions around programming langages, open source and software development
4 participants
@polarrwl2023@lahiruchinthana@MOHAMED-LAAGUILI@VIDAKHOSHPEY22