isaacs/npm — Issue #1693: Errors during update of locally installed npm
Author: arikon
Created: 2011-11-10 19:19:47+00:00
State: open

```
bash-3.2$ npm update
npm WARN q@0.7.2 package.json: bugs['web'] should probably be bugs['url']
npm WARN q-fs@0.1.19 package.json: bugs['web'] should probably be bugs['url']
npm WARN q-util@0.0.2 package.json: bugs['web'] should probably be bugs['url']
npm WARN qq@0.3.3 package.json: bugs['web'] should probably be bugs['url']
npm WARN fs-boot@0.0.7 package.json: 'devDependences' should probably be 'devDependencies'
npm WARN fs-boot@0.0.7 package.json: bugs['web'] should probably be bugs['url']
npm WARN q-io@0.0.11 package.json: bugs['web'] should probably be bugs['url']
npm WARN event-queue@0.1.0 package.json: bugs['web'] should probably be bugs['url']
npm ERR! error installing npm@1.0.105 Error: Refusing to delete: /usr/local/share/man/man1/npm-author.1 not in /Users/arikon/projects/bem/npm2debian/node_modules/npm
npm ERR! error installing npm@1.0.105 at clobberFail (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:110:12)
npm ERR! error installing npm@1.0.105 at next (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:97:42)
npm ERR! error installing npm@1.0.105 at /usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:105:12
npm ERR! error installing npm@1.0.105 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 npm@1.0.105 Error: Refusing to delete: /usr/local/share/man/man1/npm-author.1 not in /Users/arikon/projects/bem/npm2debian/node_modules/npm
npm ERR! error rolling back npm@1.0.105 at clobberFail (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:110:12)
npm ERR! error rolling back npm@1.0.105 at next (/usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:97:42)
npm ERR! error rolling back npm@1.0.105 at /usr/local/lib/node_modules/npm/node_modules/rimraf/rimraf.js:105:12
npm ERR! error rolling back npm@1.0.105 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/share/man/man1/npm-author.1 not in /Users/arikon/projects/bem/npm2debian/node_modules/npm
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 10.8.0
npm ERR! command "node" "/usr/local/bin/npm" "update"
npm ERR! cwd /Users/arikon/projects/bem/npm2debian
npm ERR! node -v v0.6.0
npm ERR! npm -v 1.0.105
npm ERR! path /usr/local/share/man/man1/npm-author.1
npm ERR! code EEXIST
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/arikon/projects/bem/npm2debian/npm-debug.log
npm not ok
```