npm Community Forum (Archive)

The npm community forum has been discontinued.

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

publish private packages sometimes get 404 even if publication done

From my “jenkins”, I publish private packages using the command: npm publish --tag dev and then i try to unpublish the previuos version.

Sometimes it happens that the publication done and the package is listed in the; but if you try to install in your machine using npm install, you get a 404 error code.

the really annoying thing is that if you try to unpublish you receives the error: “<packgage_version> not published” and if you try to re publish you receives: "Cannot publish over previously published version "

Please, can you help me to solve this annoying problem?