isaacs/npm — Issue #1713: npm won't update
Author: nzakas
Created: 2011-11-15 15:54:56+00:00
State: open

I just ran:

sudo npm update npm -g

And got the following:

```
nicholas@nicholas-VirtualBox:~/$ node -v
v0.4.10
nicholas@nicholas-VirtualBox:~/$ sudo npm update npm -g
npm ERR! TypeError: Cannot call method 'filter' of undefined
npm ERR! at /usr/local/lib/node_modules/npm/lib/utils/load-package-defaults.js:64:15
npm ERR! at cb (/usr/local/lib/node_modules/npm/lib/utils/async-map.js:51:11)
npm ERR! at /usr/local/lib/node_modules/npm/lib/utils/find.js:23:20
npm ERR! at cb (/usr/local/lib/node_modules/npm/lib/utils/graceful-fs.js:31:9)
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-8-generic
npm ERR! command "node" "/usr/local/bin/npm" "update" "npm" "-g"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/nicholas/share/nicole/csslint/release/npm-debug.log
npm not ok
```

Debug log is here: https://gist.github.com/1367412