Skip to content


Subversion checkout URL

You can clone with
Download ZIP


"npm publish" should fail on errors in dependencies configuration #5152

medikoo opened this Issue · 0 comments

2 participants


Currently, npm will install package even if there are obvious errors in package.json dependencies section.

e.g. I had a typo, dependency version was declared as x0.2.0, publish was successful, but of course install of such package immediately fails. Technically I published dead, unusable version of a package.

Before we allow the publish it'll be great to validate if all versions are semver correct in package.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.