isaacs/npm — Issue #1798: Trying to uninstall node-inspector
Author: aishwar
Created: 2011-11-28 00:32:12+00:00
State: open

I ran this command to uninstall node-inspector

`npm uninstall -g node-inspector`

and I got the following:

`
npm ERR! Error: Refusing to delete: /usr/local/bin/node-inspector not in /usr/local/lib/node_modules/node-inspector
npm ERR! at clobberFail (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:107:12)
npm ERR! at next (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:94:42)
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:102:12
npm ERR! at cb (/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 Linux 2.6.35-25-generic
npm ERR! command "node" "/usr/local/bin/npm" "uninstall" "-g" "node-inspector"
npm ERR! cwd /home/aishwar
npm ERR! node -v v0.4.10
npm ERR! npm -v 1.0.90
npm ERR! path /usr/local/bin/node-inspector
npm ERR! code EEXIST
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/aishwar/npm-debug.log
npm not ok
`

Any help is appreciated! Thanks.