npm Community Forum (Archive)

The npm community forum has been discontinued.

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

Registry returned 400 for PUT on https://registry.npmjs.com/-/package/path-protocol-test/dist-tags/latest

I am trying to promote the package with tag “dev” to “latest” by running:

npm dist-tag add --verbose --registry https://registry.npmjs.com/ "path-protocol-test@dev" "latest"

I get Registry returned 400 for PUT on https://registry.npmjs.com/-/package/path-protocol-test/dist-tags/latest

Any ideas what I might be doing wrong?