isaacs/npm — Issue #1875: error installing coffee-script
Author: autonome
Created: 2011-12-13 02:42:36+00:00
State: open

squirple:~ dietrich$ sudo npm install -g coffee-script
npm ERR! error installing coffee-script@1.1.3 Error: Refusing to delete: /usr/local/bin/coffee not in /usr/local/lib/node_modules/coffee-script
npm ERR! error installing coffee-script@1.1.3 at clobberFail (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:110:12)
npm ERR! error installing coffee-script@1.1.3 at next (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:97:42)
npm ERR! error installing coffee-script@1.1.3 at /usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:105:12
npm ERR! error installing coffee-script@1.1.3 at Object.cb [as oncomplete] (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)
npm ERR! error rolling back coffee-script@1.1.3 Error: Refusing to delete: /usr/local/bin/coffee not in /usr/local/lib/node_modules/coffee-script
npm ERR! error rolling back coffee-script@1.1.3 at clobberFail (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:110:12)
npm ERR! error rolling back coffee-script@1.1.3 at next (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:97:42)
npm ERR! error rolling back coffee-script@1.1.3 at /usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:105:12
npm ERR! error rolling back coffee-script@1.1.3 at Object.cb [as oncomplete] (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)
npm ERR! Error: Refusing to delete: /usr/local/bin/coffee not in /usr/local/lib/node_modules/coffee-script
npm ERR! at clobberFail (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:110:12)
npm ERR! at next (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:97:42)
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:105:12
npm ERR! at Object.cb [as oncomplete] (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)
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" "install" "-g" "coffee-script"
npm ERR! cwd /Users/dietrich
npm ERR! node -v v0.6.1
npm ERR! npm -v 1.0.105
npm ERR! path /usr/local/bin/coffee
npm ERR! code EEXIST
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/dietrich/npm-debug.log