isaacs/npm — Issue #1784: npm update failed after upgraded node to v0.6.3 using nave 
Author: number5
Created: 2011-11-25 12:15:00+00:00
State: open

my .npmrc has set global=true but the global prefix are my home dir (/home/bwang)
here are the console log

npm WARN sinon@1.2.0 package.json: bugs['web'] should probably be bugs['url']
npm WARN async_testing@0.3.2 package.json: bugs['web'] should probably be bugs['url']
npm ERR! Failed unpacking /tmp/npm-1322222891554/1322222896095-0.689398389775306/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1322222891554/1322222896095-0.689398389775306/tmp.tgz to /tmp/npm-1322222891554/1322222896095-0.689398389775306
npm ERR! Failed unpacking /tmp/npm-1322222891554/1322222895865-0.17070580180734396/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1322222891554/1322222895865-0.17070580180734396/tmp.tgz to /tmp/npm-1322222891554/1322222895865-0.17070580180734396
npm WARN cli@0.3.8 package.json: bugs['web'] should probably be bugs['url']
npm ERR! TypeError: Bad argument
npm ERR! at Object._open (fs.js:224:11)
npm ERR! at open (/home/bwang/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:73:6)
npm ERR! at Object.open (/home/bwang/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:3)
npm ERR! at Object.lutimes (/home/bwang/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:28:6)
npm ERR! at setProps (/home/bwang/lib/node_modules/npm/node_modules/fstream/lib/writer.js:267:18)
npm ERR! at Object.oncomplete (/home/bwang/lib/node_modules/npm/node_modules/fstream/lib/writer.js:205:7)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.38-12-generic
npm ERR! command "node" "/home/bwang/bin/npm" "update"
npm ERR! cwd /home/bwang
npm ERR! node -v v0.6.3
npm ERR! npm -v 1.1.0-alpha-2
npm ERR! message Bad argument
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/bwang/npm-debug.log
npm not ok