npm update -> TypeError: Cannot call method 'reduce' of undefined #2887

Closed
ludoblues opened this Issue Oct 16, 2012 · 1 comment

Projects

None yet

2 participants

@ludoblues

npm ERR! TypeError: Cannot call method 'reduce' of undefined
npm ERR! at treeify (/usr/lib/nodejs/npm/lib/install.js:346:29)
npm ERR! at cb (/usr/lib/nodejs/npm/lib/install.js:81:16)
npm ERR! at cb (/usr/lib/nodejs/npm/lib/install.js:381:40)
npm ERR! at cb (/usr/lib/nodejs/npm/node_modules/slide/lib/async-map.js:48:11)
npm ERR! at /usr/lib/nodejs/npm/lib/install.js:602:5
npm ERR! at /usr/lib/nodejs/npm/lib/install.js:673:24
npm ERR! at /usr/lib/nodejs/npm/node_modules/slide/lib/chain.js:16:22
npm ERR! at /usr/lib/nodejs/npm/lib/install.js:828:14
npm ERR! at cb (/usr/lib/nodejs/npm/node_modules/slide/lib/async-map.js:48:11)
npm ERR! at LOOP (/usr/lib/nodejs/npm/node_modules/slide/lib/chain.js:7:26)

npm ERR! System Linux 3.2.0-32-generic-pae
npm ERR! command "node" "/usr/bin/npm" "update"
npm ERR! cwd /home/ludo/Documents/chong_the_road/Server
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.19
npm ERR! type non_object_property_call
npm ERR! arguments [ 'reduce', undefined ]
npm ERR! message Cannot call method 'reduce' of undefined

@mfncooper
Member

This was fixed a couple of months ago. Please update to the latest version of npm (which is v1.1.63 right now, versus 1.1.19 that you're currently using).

@mfncooper mfncooper closed this Oct 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment