Trying to update my npm package. Both the npm website and npm info
say that I'm at version 0.6.1.
But when I bump the version to 0.7.0, I get a "cannot publish over existing version" error:
npm ERR! publish fail Cannot publish over existing version.
npm ERR! publish fail Update the 'version' field in package.json and try again.
npm ERR! publish fail
npm ERR! publish fail If the previous version was published in error, see:
npm ERR! publish fail npm help unpublish
npm ERR! publish fail
npm ERR! publish fail To automatically increment version numbers, see:
npm ERR! publish fail npm help version
npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "publish" "."
npm ERR! cwd /Users/evanhahn/HumanizeDuration.js
npm ERR! node -v v0.10.21
npm ERR! npm -v 1.3.11
npm ERR! code EPUBLISHCONFLICT
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/evanhahn/HumanizeDuration.js/npm-debug.log
npm ERR! not ok code 0
I've never pushed 0.7.0.
I also tried pushing 0.7.1 and it gave the same error.
Thoughts?
Updating to the latest npm
fixed my problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With