isaacs/npm — Issue #1914: problem publishing package
Author: jdubie
Created: 2011-12-21 19:08:26+00:00
State: open

not sure why this doesn't work

```$ npm publish maple ```

also tried using sudo. below is the stack trace for the above command:

```
jdubie@jackbook:~/Dropbox/Developer/Projects$ npm publish maple
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): maple/0.0.1/-tag/latest
npm ERR! at IncomingMessage.responseDone (/usr/local/lib/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:205: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:1226: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!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/usr/local/lib/bin/npm" "publish" "maple"
npm ERR! cwd /Users/jdubie/Dropbox/Developer/Projects
npm ERR! node -v v0.4.8
npm ERR! npm -v 1.0.27
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/jdubie/Dropbox/Developer/Projects/npm-debug.log
npm not ok
jdubie@jackbook:~/Dropbox/Developer/Projects$ npm config list
; userconfig /Users/jdubie/.npmrc
_auth = ---sekretz---
_password = ---sekretz---
email = "jack@orchestra.com"
username = "jdubie"

; node install prefix = /usr/local
; node bin location = /usr/local/lib/bin/node
; cwd = /Users/jdubie/Dropbox/Developer/Projects
; HOME = /Users/jdubie
; 'npm config ls -l' to show all defaults.

jdubie@jackbook:~/Dropbox/Developer/Projects$

```