isaacs/npm — Issue #2043: Publish error: forbidden _npmUser field must be object
Author: tautologistics
Created: 2012-01-15 22:14:16+00:00
State: open

I wiped and reinstalled NPM fresh (v1.1.0-beta-4) and am using node v0.6.6. The output of the publish command is as follows:

npm http PUT https://registry.npmjs.org/htmlparser
npm http 409 https://registry.npmjs.org/htmlparser
npm http GET https://registry.npmjs.org/htmlparser
npm http 200 https://registry.npmjs.org/htmlparser
npm http PUT https://registry.npmjs.org/htmlparser/1.7.4/-tag/latest
npm http 403 https://registry.npmjs.org/htmlparser/1.7.4/-tag/latest
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): htmlparser/1.7.4/-tag/latest
npm ERR! at Request._callback (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:182:12)
npm ERR! at Request.callback (/usr/local/lib/node_modules/npm/node_modules/request/main.js:104:22)
npm ERR! at Request. (/usr/local/lib/node_modules/npm/node_modules/request/main.js:450:18)
npm ERR! at Request.emit (events.js:67:17)
npm ERR! at IncomingMessage. (/usr/local/lib/node_modules/npm/node_modules/request/main.js:404:16)
npm ERR! at IncomingMessage.emit (events.js:88:20)
npm ERR! at HTTPParser.onMessageComplete (http.js:137:23)
npm ERR! at CleartextStream.ondata (http.js:1124:24)
npm ERR! at CleartextStream._push (tls.js:363:27)
npm ERR! at SecurePair.cycle (tls.js:685:20)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/usr/local/bin/npm" "publish" "."
npm ERR! cwd /Users/chris/Documents/src/node-htmlparser
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-4
npm ERR! message forbidden _npmUser field must be object
npm ERR! message (You probably need to upgrade your npm version): htmlparser/1.7.4/-tag/latest
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/chris/Documents/src/node-htmlparser/npm-debug.log
npm not ok