isaacs/npm — Issue #2038: Error during npm update -g
Author: mpfilbin
Created: 2012-01-15 00:27:07+00:00
State: open

```bash
mpfilbin@Darwin:~
> npm update -g
npm http GET https://registry.npmjs.org/coffeelint
npm http GET https://registry.npmjs.org/coffee-watcher
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/npm
npm http 304 https://registry.npmjs.org/coffee-watcher
npm http 304 https://registry.npmjs.org/coffeelint
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/optimist
npm http 200 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/wordwrap
npm http 200 https://registry.npmjs.org/npm
npm http GET https://registry.npmjs.org/npm/-/npm-1.1.0.tgz
npm http 200 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/wordwrap
npm http 200 https://registry.npmjs.org/npm/-/npm-1.1.0.tgz
npm http GET https://registry.npmjs.org/npm/1.1.0
npm http 200 https://registry.npmjs.org/npm/1.1.0
npm http GET https://registry.npmjs.org/npm/-/npm-1.1.0.tgz
npm http 200 https://registry.npmjs.org/npm/-/npm-1.1.0.tgz
npm ERR! error installing npm@1.1.0
npm ERR! Error: EINVAL, invalid argument '/usr/local/lib/node_modules/npm/node_modules/tar/test/fixtures/hardlink-2'
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" "update" "-g"
npm ERR! cwd /Users/mpfilbin
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! path /usr/local/lib/node_modules/npm/node_modules/tar/test/fixtures/hardlink-2
npm ERR! code EINVAL
npm ERR! message EINVAL, invalid argument '/usr/local/lib/node_modules/npm/node_modules/tar/test/fixtures/hardlink-2'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/mpfilbin/npm-debug.log
npm not ok
```
I received this while running ```npm update -g``` from my shell. Here's the 'npm-debug.log' file referenced in the stack trace: http://cl.ly/1v1v1W0w3F371H1a253i