{"action":"closed","issue":{"url":"https://api.github.com/repos/npm/npm/issues/4273","labels_url":"https://api.github.com/repos/npm/npm/issues/4273/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/4273/comments","events_url":"https://api.github.com/repos/npm/npm/issues/4273/events","html_url":"https://github.com/npm/npm/issues/4273","id":23982152,"number":4273,"title":"Publish new version of pack rejected due to wrongful assumption that this version already existed","user":{"login":"thlorenz","id":192891,"avatar_url":"https://avatars.githubusercontent.com/u/192891?v=3","gravatar_id":"","url":"https://api.github.com/users/thlorenz","html_url":"https://github.com/thlorenz","followers_url":"https://api.github.com/users/thlorenz/followers","following_url":"https://api.github.com/users/thlorenz/following{/other_user}","gists_url":"https://api.github.com/users/thlorenz/gists{/gist_id}","starred_url":"https://api.github.com/users/thlorenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thlorenz/subscriptions","organizations_url":"https://api.github.com/users/thlorenz/orgs","repos_url":"https://api.github.com/users/thlorenz/repos","events_url":"https://api.github.com/users/thlorenz/events{/privacy}","received_events_url":"https://api.github.com/users/thlorenz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/registry","name":"registry","color":"dd4422"},{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-12-09T18:32:19Z","updated_at":"2015-02-20T20:28:13Z","closed_at":"2015-02-20T20:28:13Z","body":"I patched the version of my module and tried to publish it, but `npm` refused to do so claiming that the version already existed.\r\n\r\nI double checked the version and ran `npm pub` again and it went through that time.\r\nSo not a big problem, just wanted to report this inconsistency.\r\n\r\n#### Log\r\n```\r\nnpm http PUT https://registry.npmjs.org/apply-transform\r\nnpm http 409 https://registry.npmjs.org/apply-transform\r\nnpm http GET https://registry.npmjs.org/apply-transform\r\nnpm http 200 https://registry.npmjs.org/apply-transform\r\nnpm http PUT https://registry.npmjs.org/apply-transform/-/apply-transform-0.1.1.tgz/-rev/3-48610c23e56d22dc29c1496fe13b0b32\r\nnpm http 201 https://registry.npmjs.org/apply-transform/-/apply-transform-0.1.1.tgz/-rev/3-48610c23e56d22dc29c1496fe13b0b32\r\nnpm http PUT https://registry.npmjs.org/apply-transform/0.1.1/-tag/latest\r\nnpm http 409 https://registry.npmjs.org/apply-transform/0.1.1/-tag/latest\r\nnpm ERR! publish fail Cannot publish over existing version.\r\nnpm ERR! publish fail Update the 'version' field in package.json and try again.\r\nnpm ERR! publish fail\r\nnpm ERR! publish fail If the previous version was published in error, see:\r\nnpm ERR! publish fail     npm help unpublish\r\nnpm ERR! publish fail\r\nnpm ERR! publish fail To automatically increment version numbers, see:\r\nnpm ERR! publish fail     npm help version\r\n\r\nnpm ERR! System Darwin 12.2.0\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"publish\"\r\nnpm ERR! cwd /Users/thlorenz/dev/projects/apply-transform\r\nnpm ERR! node -v v0.10.18\r\nnpm ERR! npm -v 1.3.8\r\nnpm ERR! code EPUBLISHCONFLICT\r\nnpm ERR!\r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /Users/thlorenz/dev/projects/apply-transform/npm-debug.log\r\nnpm ERR! not ok code 0\r\n\r\n~/dev/projects/apply-transform (master)\r\n➝  lver apply-transform\r\n0.1.0\r\n\r\n~/dev/projects/apply-transform (master)\r\n➝  c package.json\r\n{\r\n  \"name\": \"apply-transform\",\r\n  \"version\": \"0.1.1\",\r\n  \"description\": \"Applies a transform to an input string and calls back with result, mostly useful for testing transforms\",\r\n  \"main\": \"index.js\",\r\n  \"scripts\": {\r\n    \"test-main\": \"tap test/*.js\",\r\n    \"test-0.8\": \"nave use 0.8 npm run test-main\",\r\n    \"test-0.10\": \"nave use 0.10 npm run test-main\",\r\n    \"test-all\": \"npm run test-main && npm run test-0.8 && npm run test-0.10\",\r\n    \"test\": \"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi\"\r\n  },\r\n  \"repository\": {\r\n    \"type\": \"git\",\r\n    \"url\": \"git://github.com/thlorenz/apply-transform.git\"\r\n  },\r\n  \"homepage\": \"https://github.com/thlorenz/apply-transform\",\r\n  \"dependencies\": {\r\n    \"readable-stream\": \"~1.1.9\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"nave\": \"~0.4.3\",\r\n    \"tap\": \"~0.4.3\",\r\n    \"through2\": \"~0.2.3\"\r\n  },\r\n  \"keywords\": [],\r\n  \"author\": {\r\n    \"name\": \"Thorsten Lorenz\",\r\n    \"email\": \"thlorenz@gmx.de\",\r\n    \"url\": \"http://thlorenz.com\"\r\n  },\r\n  \"license\": {\r\n    \"type\": \"MIT\",\r\n    \"url\": \"https://github.com/thlorenz/apply-transform/blob/master/LICENSE\"\r\n  },\r\n  \"engine\": {\r\n    \"node\": \">=0.6\"\r\n  }\r\n}\r\n\r\n~/dev/projects/apply-transform (master)\r\n➝  npm pub\r\nnpm http PUT https://registry.npmjs.org/apply-transform\r\nnpm http 409 https://registry.npmjs.org/apply-transform\r\nnpm http GET https://registry.npmjs.org/apply-transform\r\nnpm http 200 https://registry.npmjs.org/apply-transform\r\nnpm http PUT https://registry.npmjs.org/apply-transform/-/apply-transform-0.1.1.tgz/-rev/4-3fda0c33d5540d855ca9d6345a734110\r\nnpm http 201 https://registry.npmjs.org/apply-transform/-/apply-transform-0.1.1.tgz/-rev/4-3fda0c33d5540d855ca9d6345a734110\r\nnpm http PUT https://registry.npmjs.org/apply-transform/0.1.1/-tag/latest\r\nnpm http 201 https://registry.npmjs.org/apply-transform/0.1.1/-tag/latest\r\n+ apply-transform@0.1.1\r\n```"}}