Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

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

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

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

ludoblues opened this issue Oct 16, 2012 · 1 comment

Comments

@ludoblues
Copy link

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
Copy link
Contributor

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants