isaacs/npm — Issue #1860: npm publish failure
Author: mishoo
Created: 2011-12-09 13:28:12+00:00
State: open

Got the following trying to npm publish uglify-js:

```
npm info it worked if it ends with ok
npm info using npm@0.3.18
npm info using node@v0.4.9
npm info calculating sha1 /usr/lib/node/.npm/.cache/uglify-js/1.2.0/package.tgz
npm info shasum 7f1f82d38dc9b832e77f828aadd3f3c7b60e22e4
npm WARN Sending authorization over insecure channel.
npm WARN Sending authorization over insecure channel.
npm ERR! Error sending version data
npm ERR! Error: forbidden _npmUser field must be object
npm ERR! (You probably need to upgrade your npm version): uglify-js/1.2.0
npm ERR! at IncomingMessage. (/home/mishoo/.node_libraries/.npm/npm/0.3.18/package/lib/utils/registry/request.js:173:16)
npm ERR! at IncomingMessage.emit (events.js:81:20)
npm ERR! at HTTPParser.onMessageComplete (http.js:133:23)
npm ERR! at Socket.ondata (http.js:1227:22)
npm ERR! at Socket._onReadable (net.js:683:27)
npm ERR! at IOWatcher.onReadable [as callback] (net.js:177:10)
npm ERR! Report this *entire* log at
npm ERR! or email it to
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm ERR! System Linux 3.0.0-13-generic
npm ERR! argv { remain: [],
npm ERR! argv cooked: [ 'publish' ],
npm ERR! argv original: [ 'publish' ] }
npm not ok
```