npm Community Forum (Archive)

The npm community forum has been discontinued.

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

Check if the version is already exists before uploading

When trying npm publish on a version number that is already publish the folder will be uploaded and then you will get an error saying you can’t publish because version already exists.

So instead I am suggesting to check if the version is already there before uploading files.


Good advaise, thank you.


It would be great to have this is-published command.

Please consider. Thanks


Thank you for your advise and it was very helpful to me - Zan Live TV