Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Last active January 3, 2016 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save springmeyer/817543f2b09e7457e576 to your computer and use it in GitHub Desktop.
Save springmeyer/817543f2b09e7457e576 to your computer and use it in GitHub Desktop.
~/projects/tagging/bones[1.3]$ npm whoami
springmeyer
~/projects/tagging/bones[1.3]$ node -p 'require("./package.json").version'
1.3.30
~/projects/tagging/bones[1.3]$ node -p 'require.resolve("./package.json")'
/Users/dane/projects/tagging/bones/package.json
~/projects/tagging/bones[1.3]$ npm publish
npm http PUT https://registry.npmjs.org/bones
npm http 409 https://registry.npmjs.org/bones
npm http GET https://registry.npmjs.org/bones
npm http 200 https://registry.npmjs.org/bones
npm http PUT https://registry.npmjs.org/bones
npm http 403 https://registry.npmjs.org/bones
npm http PUT https://registry.npmjs.org/bones
npm http 403 https://registry.npmjs.org/bones
npm ERR! Error: forbidden version=2.1.0-alpha0
npm ERR! user.name=springmeyer
npm ERR! _npmUser.name=tmcw
npm ERR! _npmUser.name must === user.name: bones
npm ERR! at RegClient.<anonymous> (/Users/dane/.nvm/v0.10.24/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:275:14)
npm ERR! at Request.self.callback (/Users/dane/.nvm/v0.10.24/lib/node_modules/npm/node_modules/request/request.js:123:22)
npm ERR! at Request.EventEmitter.emit (events.js:98:17)
npm ERR! at Request.<anonymous> (/Users/dane/.nvm/v0.10.24/lib/node_modules/npm/node_modules/request/request.js:893:14)
npm ERR! at Request.EventEmitter.emit (events.js:117:20)
npm ERR! at IncomingMessage.<anonymous> (/Users/dane/.nvm/v0.10.24/lib/node_modules/npm/node_modules/request/request.js:844: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 *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Darwin 12.5.0
npm ERR! command "node" "/Users/dane/.nvm/v0.10.24/bin/npm" "publish"
npm ERR! cwd /Users/dane/projects/tagging/bones
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.23
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/dane/projects/tagging/bones/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment