isaacs/npm — Issue #2176: Authentication issue on `npm publish`
Author: jcoglan
Created: 2012-02-20 20:56:32+00:00
State: open

I currently cannot publish updates to `jsclass`. Here's what happens when I try:

```

$ npm publish build/
npm http PUT https://registry.npmjs.org/jsclass
npm http 401 https://registry.npmjs.org/jsclass
npm ERR! Failed PUT response 401

npm ERR! Error: unauthorized Name or password is incorrect.: jsclass
npm ERR! at Request._callback (/home/jcoglan/.nvm/v0.7.3/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:182:12)
npm ERR! at Request.callback (/home/jcoglan/.nvm/v0.7.3/lib/node_modules/npm/node_modules/request/main.js:109:22)
npm ERR! at Request. (/home/jcoglan/.nvm/v0.7.3/lib/node_modules/npm/node_modules/request/main.js:481:18)
npm ERR! at Request.emit (events.js:67:17)
npm ERR! at IncomingMessage. (/home/jcoglan/.nvm/v0.7.3/lib/node_modules/npm/node_modules/request/main.js:442:16)
npm ERR! at IncomingMessage.emit (events.js:88:20)
npm ERR! at HTTPParser.onMessageComplete (http.js:152:25)
npm ERR! at CleartextStream.ondata (http.js:1206:24)
npm ERR! at CleartextStream._push (tls.js:367:27)
npm ERR! at SecurePair.cycle (tls.js:685:20)
npm ERR! You may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.32-38-generic
npm ERR! command "node" "/home/jcoglan/.nvm/v0.7.3/bin/npm" "publish" "build/"
npm ERR! cwd /home/jcoglan/projects/JAVASCRIPT/js.class
npm ERR! node -v v0.7.3
npm ERR! npm -v 1.1.0-3
npm ERR! message unauthorized Name or password is incorrect.: jsclass
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jcoglan/projects/JAVASCRIPT/js.class/npm-debug.log
npm not ok

$ npm whoami
jcoglan

$ npm owner ls jsclass
npm http GET https://registry.npmjs.org/jsclass
npm http 200 https://registry.npmjs.org/jsclass
jcoglan
```