Check if the version is already exists before uploading

(Ahmad Seder) #1

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.

(Markus Rule) #2

Good advaise, thank you.