Skip to content

Instantly share code, notes, and snippets.

@khannedy
Created February 2, 2014 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khannedy/8776534 to your computer and use it in GitHub Desktop.
Save khannedy/8776534 to your computer and use it in GitHub Desktop.
➜ ~ npm -g update npm
npm http GET https://registry.npmjs.org/npm/latest
npm http GET https://registry.npmjs.org/npm/latest
npm http GET https://registry.npmjs.org/npm/latest
npm http GET https://registry.npmjs.org/npm/latest
npm http 304 https://registry.npmjs.org/npm/latest
npm http 304 https://registry.npmjs.org/npm/latest
npm http GET https://registry.npmjs.org/npm/1.3.4
npm http GET https://registry.npmjs.org/npm
npm http 304 https://registry.npmjs.org/npm/latest
npm http GET https://registry.npmjs.org/npm
npm http 304 https://registry.npmjs.org/npm/latest
npm http 304 https://registry.npmjs.org/npm/1.3.4
npm http 304 https://registry.npmjs.org/npm
npm http 304 https://registry.npmjs.org/npm
npm http GET https://registry.npmjs.org/npm/1.3.25
npm http 304 https://registry.npmjs.org/npm/1.3.25
npm ERR! error rolling back Error: Refusing to delete: /usr/local/bin/npm not in /usr/local/lib/node_modules/npm
npm ERR! error rolling back at clobberFail (/usr/local/Cellar/node/0.10.25/lib/node_modules/npm/lib/utils/gently-rm.js:41:12)
npm ERR! error rolling back at next (/usr/local/Cellar/node/0.10.25/lib/node_modules/npm/lib/utils/gently-rm.js:27:14)
npm ERR! error rolling back at /usr/local/Cellar/node/0.10.25/lib/node_modules/npm/lib/utils/gently-rm.js:36:12
npm ERR! error rolling back at Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back npm@1.3.25 { [Error: Refusing to delete: /usr/local/bin/npm not in /usr/local/lib/node_modules/npm] code: 'EEXIST', path: '/usr/local/bin/npm' }
npm ERR! Refusing to delete: /usr/local/bin/npm not in /usr/local/lib/node_modules/npm
File exists: /usr/local/bin/npm
Move it away, and try again.
npm ERR! System Darwin 13.0.0
npm ERR! command "/usr/local/Cellar/node/0.10.25/bin/node" "/usr/local/bin/npm" "-g" "update" "npm"
npm ERR! cwd /Users/khannedy
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /usr/local/bin/npm
npm ERR! code EEXIST
npm@1.3.4 /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/npm
npm@1.3.4 /usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/npm
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/khannedy/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment