npm publish error: "forbidden may not remove dist-tags" #4767

Closed
ryanflorence opened this Issue Feb 24, 2014 · 2 comments

4 participants

@ryanflorence

published this module first a couple days ago w/o issue, made some small commits, updated the version in package.json, tried to publish but now I get this:

broccoli-es6-module-filter on master* ➤  npm publish
npm http PUT https://registry.npmjs.org/broccoli-es6-module-filter
npm http 403 https://registry.npmjs.org/broccoli-es6-module-filter
npm http PUT https://registry.npmjs.org/broccoli-es6-module-filter
npm http 403 https://registry.npmjs.org/broccoli-es6-module-filter
npm ERR! publish Failed PUT response 403
npm ERR! Error: forbidden may not remove dist-tags: broccoli-es6-module-filter
npm ERR!     at RegClient.<anonymous> (/Users/ryanf/.nvm/v0.10.22/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:272:14)
npm ERR!     at Request.self.callback (/Users/ryanf/.nvm/v0.10.22/lib/node_modules/npm/node_modules/request/request.js:129:22)
npm ERR!     at Request.EventEmitter.emit (events.js:98:17)
npm ERR!     at Request.<anonymous> (/Users/ryanf/.nvm/v0.10.22/lib/node_modules/npm/node_modules/request/request.js:873:14)
npm ERR!     at Request.EventEmitter.emit (events.js:117:20)
npm ERR!     at IncomingMessage.<anonymous> (/Users/ryanf/.nvm/v0.10.22/lib/node_modules/npm/node_modules/request/request.js:824:12)
npm ERR!     at IncomingMessage.EventEmitter.emit (events.js:117:20)
npm ERR!     at _stream_readable.js:920:16
npm ERR!     at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Darwin 13.0.2
npm ERR! command "/Users/ryanf/.nvm/v0.10.22/bin/node" "/Users/ryanf/.nvm/v0.10.22/bin/npm" "publish"
npm ERR! cwd /Users/ryanf/Code/github/broccoli-es6-module-filter
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/ryanf/Code/github/broccoli-es6-module-filter/npm-debug.log
npm ERR! not ok code 0

Here's the full log:

0 info it worked if it ends with ok
1 verbose cli [ '/Users/ryanf/.nvm/v0.10.22/bin/node',
1 verbose cli   '/Users/ryanf/.nvm/v0.10.22/bin/npm',
1 verbose cli   'publish' ]
2 info using npm@1.3.14
3 info using node@v0.10.22
4 verbose publish [ '.' ]
5 verbose cache add [ '.', null ]
6 verbose cache add name=undefined spec="." args=[".",null]
7 verbose parsed url { protocol: null,
7 verbose parsed url   slashes: null,
7 verbose parsed url   auth: null,
7 verbose parsed url   host: null,
7 verbose parsed url   port: null,
7 verbose parsed url   hostname: null,
7 verbose parsed url   hash: null,
7 verbose parsed url   search: null,
7 verbose parsed url   query: null,
7 verbose parsed url   pathname: '.',
7 verbose parsed url   path: '.',
7 verbose parsed url   href: '.' }
8 silly lockFile 3a52ce78- .
9 verbose lock . /Users/ryanf/.npm/3a52ce78-.lock
10 verbose tar pack [ '/var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz',
10 verbose tar pack   '.' ]
11 verbose tarball /var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz
12 verbose folder .
13 info prepublish broccoli-es6-module-filter@0.1.1
14 silly lockFile 1f1177db-tar tar://.
15 verbose lock tar://. /Users/ryanf/.npm/1f1177db-tar.lock
16 silly lockFile 01750ddb-89156-0-9047484190668911-tmp-tgz tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz
17 verbose lock tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz /Users/ryanf/.npm/01750ddb-89156-0-9047484190668911-tmp-tgz.lock
18 silly lockFile 1f1177db-tar tar://.
19 silly lockFile 1f1177db-tar tar://.
20 silly lockFile 01750ddb-89156-0-9047484190668911-tmp-tgz tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz
21 silly lockFile 01750ddb-89156-0-9047484190668911-tmp-tgz tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz
22 verbose tar unpack /var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz
23 silly lockFile e23e1192-89156-0-9047484190668911-package tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package
24 verbose lock tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package /Users/ryanf/.npm/e23e1192-89156-0-9047484190668911-package.lock
25 silly lockFile 01750ddb-89156-0-9047484190668911-tmp-tgz tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz
26 verbose lock tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz /Users/ryanf/.npm/01750ddb-89156-0-9047484190668911-tmp-tgz.lock
27 silly gunzTarPerm modes [ '755', '644' ]
28 silly gunzTarPerm extractEntry package.json
29 silly gunzTarPerm extractEntry README.md
30 silly gunzTarPerm extractEntry LICENSE
31 silly gunzTarPerm extractEntry index.js
32 silly lockFile e23e1192-89156-0-9047484190668911-package tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package
33 silly lockFile e23e1192-89156-0-9047484190668911-package tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package
34 silly lockFile 01750ddb-89156-0-9047484190668911-tmp-tgz tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz
35 silly lockFile 01750ddb-89156-0-9047484190668911-tmp-tgz tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/tmp.tgz
36 verbose tar pack [ '/Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz',
36 verbose tar pack   '/var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package' ]
37 verbose tarball /Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz
38 verbose folder /var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package
39 silly lockFile e23e1192-89156-0-9047484190668911-package tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package
40 verbose lock tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package /Users/ryanf/.npm/e23e1192-89156-0-9047484190668911-package.lock
41 silly lockFile 44b95e32--module-filter-0-1-1-package-tgz tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz
42 verbose lock tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz /Users/ryanf/.npm/44b95e32--module-filter-0-1-1-package-tgz.lock
43 silly lockFile e23e1192-89156-0-9047484190668911-package tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package
44 silly lockFile e23e1192-89156-0-9047484190668911-package tar:///var/folders/nj/fdxk5pgj5855hr2kkfqv59r0p5sqp8/T/npm-40470-MJc0rdZZ/1393214089156-0.9047484190668911/package
45 silly lockFile 44b95e32--module-filter-0-1-1-package-tgz tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz
46 silly lockFile 44b95e32--module-filter-0-1-1-package-tgz tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz
47 silly lockFile 4b94cbc9--es6-module-filter-0-1-1-package /Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package
48 verbose lock /Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package /Users/ryanf/.npm/4b94cbc9--es6-module-filter-0-1-1-package.lock
49 silly lockFile 4b94cbc9--es6-module-filter-0-1-1-package /Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package
50 silly lockFile 4b94cbc9--es6-module-filter-0-1-1-package /Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package
51 verbose tar unpack /Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz
52 silly lockFile 8f19a3c0--es6-module-filter-0-1-1-package tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package
53 verbose lock tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package /Users/ryanf/.npm/8f19a3c0--es6-module-filter-0-1-1-package.lock
54 silly lockFile 44b95e32--module-filter-0-1-1-package-tgz tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz
55 verbose lock tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz /Users/ryanf/.npm/44b95e32--module-filter-0-1-1-package-tgz.lock
56 silly gunzTarPerm modes [ '755', '644' ]
57 silly gunzTarPerm extractEntry package.json
58 silly gunzTarPerm extractEntry README.md
59 silly gunzTarPerm extractEntry LICENSE
60 silly gunzTarPerm extractEntry index.js
61 silly lockFile 8f19a3c0--es6-module-filter-0-1-1-package tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package
62 silly lockFile 8f19a3c0--es6-module-filter-0-1-1-package tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package
63 silly lockFile 44b95e32--module-filter-0-1-1-package-tgz tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz
64 silly lockFile 44b95e32--module-filter-0-1-1-package-tgz tar:///Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz
65 verbose chmod /Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz 644
66 verbose chown /Users/ryanf/.npm/broccoli-es6-module-filter/0.1.1/package.tgz [ 744283848, 20 ]
67 silly lockFile 3a52ce78- .
68 silly lockFile 3a52ce78- .
69 silly publish { name: 'broccoli-es6-module-filter',
69 silly publish   version: '0.1.1',
69 silly publish   description: 'broccoli filter for es6 modules',
69 silly publish   main: 'index.js',
69 silly publish   scripts: { test: 'echo "Error: no test specified" && exit 1' },
69 silly publish   author: { name: 'Ryan Florence' },
69 silly publish   license: 'MIT',
69 silly publish   dependencies:
69 silly publish    { 'es6-module-transpiler': 'git://github.com/rpflorence/es6-module-transpiler#broccoli',
69 silly publish      'broccoli-filter': 'git://github.com/rpflorence/broccoli-filter#pass-in-file-path',
69 silly publish      extend: '~1.2.1' },
69 silly publish   readme: 'broccoli-es6-module-filter\n==========================\n\nTranspile modules authored in ES6 to other module types.\n\nInstallation\n------------\n\n```sh\nnpm install --save broccoli-es6-module-filter\n```\n\nUsage (Sample Brocfile.js)\n--------------------------\n\n```js\nvar filterES6Modules = require(\'broccoli-es6-module-filter\');\nvar pickFiles = require(\'broccoli-static-compiler\');\n\nmodule.exports = function (broccoli) {\n\n  // say we\'re creating a third-party component, we\'d house our\n  // source code in \'./lib\'\n  var tree = broccoli.makeTree(\'lib\');\n\n  // create a CJS version\n  var cjsTree = filterES6Modules(pickFiles(tree, {\n    srcDir: \'/\',\n    destDir: \'/cjs\'\n  }));\n\n  // and AMD\n  var amdTree = filterES6Modules(pickFiles(tree, {\n    srcDir: \'/\',\n    destDir: \'/amd\'\n  }), {\n    moduleType: \'amd\'\n  });\n\n  return [cjsTree, amdTree];\n};\n```\n\nAnd then from the command line:\n\n```sh\n$ broccoli build output\n```\n\nOptions\n-------\n\n- `moduleType` - one of `amd`, `cjs`, and `globals`.\n\nCurrently all output is anonymous.\n\n',
69 silly publish   readmeFilename: 'README.md',
69 silly publish   _id: 'broccoli-es6-module-filter@0.1.1',
69 silly publish   dist: { shasum: '879a926118ec94456e04a534a2be5ded5fc8f32d' },
69 silly publish   _from: '.' }
70 verbose url raw broccoli-es6-module-filter
71 verbose url resolving [ 'https://registry.npmjs.org/',
71 verbose url resolving   './broccoli-es6-module-filter' ]
72 verbose url resolved https://registry.npmjs.org/broccoli-es6-module-filter
73 info trying registry request attempt 1 at 20:54:49
74 http PUT https://registry.npmjs.org/broccoli-es6-module-filter
75 http 403 https://registry.npmjs.org/broccoli-es6-module-filter
76 info trying registry request attempt 1 at 20:54:51
77 http PUT https://registry.npmjs.org/broccoli-es6-module-filter
78 http 403 https://registry.npmjs.org/broccoli-es6-module-filter
79 error publish Failed PUT response 403
80 error Error: forbidden may not remove dist-tags: broccoli-es6-module-filter
80 error     at RegClient.<anonymous> (/Users/ryanf/.nvm/v0.10.22/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:272:14)
80 error     at Request.self.callback (/Users/ryanf/.nvm/v0.10.22/lib/node_modules/npm/node_modules/request/request.js:129:22)
80 error     at Request.EventEmitter.emit (events.js:98:17)
80 error     at Request.<anonymous> (/Users/ryanf/.nvm/v0.10.22/lib/node_modules/npm/node_modules/request/request.js:873:14)
80 error     at Request.EventEmitter.emit (events.js:117:20)
80 error     at IncomingMessage.<anonymous> (/Users/ryanf/.nvm/v0.10.22/lib/node_modules/npm/node_modules/request/request.js:824:12)
80 error     at IncomingMessage.EventEmitter.emit (events.js:117:20)
80 error     at _stream_readable.js:920:16
80 error     at process._tickCallback (node.js:415:13)
81 error If you need help, you may report this log at:
81 error     <http://github.com/isaacs/npm/issues>
81 error or email it to:
81 error     <npm-@googlegroups.com>
82 error System Darwin 13.0.2
83 error command "/Users/ryanf/.nvm/v0.10.22/bin/node" "/Users/ryanf/.nvm/v0.10.22/bin/npm" "publish"
84 error cwd /Users/ryanf/Code/github/broccoli-es6-module-filter
85 error node -v v0.10.22
86 error npm -v 1.3.14
87 verbose exit [ 1, true ]
@jedi4ever

same here

@ryanflorence

closing because its super old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment