isaacs/npm — Issue #2106: npm fails to install with: npm ERR! Error: No callback passed to rimraf()
Author: zeta0134
Created: 2012-01-30 19:35:30+00:00
State: open

In the most recent commit to master, attempting to run npm install results in the following error:

npm ERR! Error: No callback passed to rimraf()
npm ERR! at rimraf (/a2/stu/nflynt/isaacs-npm-79b7fdc/node_modules/rimraf/rimraf.js:24:18)
npm ERR! at /a2/stu/nflynt/isaacs-npm-79b7fdc/lib/unbuild.js:60:7
npm ERR! at /a2/stu/nflynt/isaacs-npm-79b7fdc/node_modules/slide/lib/async-map.js:54:35
npm ERR! at Array.forEach (native)
npm ERR! at /a2/stu/nflynt/isaacs-npm-79b7fdc/node_modules/slide/lib/async-map.js:54:11
npm ERR! at Array.forEach (native)
npm ERR! at asyncMap (/a2/stu/nflynt/isaacs-npm-79b7fdc/node_modules/slide/lib/async-map.js:53:8)
npm ERR! at rmBins (/a2/stu/nflynt/isaacs-npm-79b7fdc/lib/unbuild.js:56:3)
npm ERR! at /a2/stu/nflynt/isaacs-npm-79b7fdc/lib/unbuild.js:48:5
npm ERR! at /a2/stu/nflynt/isaacs-npm-79b7fdc/node_modules/slide/lib/async-map.js:54:35
npm ERR! You may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Linux 2.6.18-274.12.1.el5PAE
npm ERR! command "node" "/a2/stu/nflynt/isaacs-npm-79b7fdc/cli.js" "install" "-g" "-f"
npm ERR! cwd /a2/stu/nflynt/isaacs-npm-79b7fdc
npm ERR! node -v v0.6.9
npm ERR! npm -v 1.1.0-3
npm ERR! message No callback passed to rimraf()
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /a2/stu/nflynt/isaacs-npm-79b7fdc/npm-debug.log
npm not ok
make: *** [install] Error 1

My node version is 0.6.9. It looks like a callback is required where one wasn't required before, but I'm going to stop talking while I'm ahead, as I'm not too familiar with rimraf()