{"action":"opened","issue":{"number":1561,"created_at":"2011-10-17T15:00:58Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I'm having a mare. I tried to update node and npm and have totally knackered my installation of npm. I have run the clean up script but same problem. When I try to install a package now (globally) I get this: HELP! What do I do? This is OSX Snow Leopard\r\n\r\n\r\nnpm ERR! error installing coffee-script@1.1.2 Error: Refusing to delete: /usr/local/bin/coffee not in /usr/local/lib/node_modules/coffee-script\r\nnpm ERR! error installing coffee-script@1.1.2     at clobberFail (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:110:12)\r\nnpm ERR! error installing coffee-script@1.1.2     at next (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:97:42)\r\nnpm ERR! error installing coffee-script@1.1.2     at /usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:105:12\r\nnpm ERR! error installing coffee-script@1.1.2     at cb (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)\r\nnpm ERR! error rolling back coffee-script@1.1.2 Error: Refusing to delete: /usr/local/bin/coffee not in /usr/local/lib/node_modules/coffee-script\r\nnpm ERR! error rolling back coffee-script@1.1.2     at clobberFail (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:110:12)\r\nnpm ERR! error rolling back coffee-script@1.1.2     at next (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:97:42)\r\nnpm ERR! error rolling back coffee-script@1.1.2     at /usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:105:12\r\nnpm ERR! error rolling back coffee-script@1.1.2     at cb (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)\r\nnpm ERR! Error: Refusing to delete: /usr/local/bin/coffee not in /usr/local/lib/node_modules/coffee-script\r\nnpm ERR!     at clobberFail (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:110:12)\r\nnpm ERR!     at next (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:97:42)\r\nnpm ERR!     at /usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:105:12\r\nnpm ERR!     at cb (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)\r\nnpm ERR! Report this *entire* log at:\r\nnpm ERR!     <http://github.com/isaacs/npm/issues>\r\nnpm ERR! or email it to:\r\nnpm ERR!     <npm-@googlegroups.com>\r\nnpm ERR! \r\nnpm ERR! System Darwin 10.8.0\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"install\" \"-g\" \"coffee-script\"\r\nnpm ERR! cwd /Users/almacmillan/Downloads\r\nnpm ERR! node -v v0.4.12\r\nnpm ERR! npm -v 1.0.99\r\nnpm ERR! path /usr/local/bin/coffee\r\nnpm ERR! code EEXIST\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /Users/almacmillan/Downloads/npm-debug.log\r\nnpm not ok\r\n","comments":0,"title":"Error installing packages","updated_at":"2011-10-17T15:00:58Z","url":"https://api.github.com/repos/isaacs/npm/issues/1561","id":1929391,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"aef7911510546c563304719790303878","avatar_url":"https://secure.gravatar.com/avatar/aef7911510546c563304719790303878?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/handloomweaver","id":456254,"login":"handloomweaver"},"html_url":"https://github.com/isaacs/npm/issues/1561","labels":[],"state":"open"},"legacy":{"number":1561,"action":"opened","issue":1929391}}