安装 node 后, 使用 npm install -g appium 报错,提示 fetch failed。该怎么解决?

npm http GET https://registry.npmjs.org/appium
npm http 304 https://registry.npmjs.org/appium
npm http GET https://registry.npmjs.org/appium/-/appium-0.12.1.tgz
npm http 404 https://registry.npmjs.org/appium/-/appium-0.12.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/appium/-/appium-0.12.1.tgz
npm ERR! Error: 404 Not Found
npm ERR! at WriteStream. (/usr/local/Cellar/node/0.10.21/lib/node_modules/npm/lib/utils/fetch.js:57:12)
npm ERR! at WriteStream.EventEmitter.emit (events.js:117:20)
npm ERR! at fs.js:1596:14
npm ERR! at /usr/local/Cellar/node/0.10.21/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:103:5
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com

npm ERR! System Darwin 13.0.0
npm ERR! command "/usr/local/Cellar/node/0.10.21/bin/node" "/usr/local/bin/npm" "install" "-g" "appium"
npm ERR! cwd /Users/roicel
npm ERR! node -v v0.10.21
npm ERR! npm -v 1.3.11
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/roicel/npm-debug.log
npm ERR! not ok code 0


↙↙↙阅读原文可查看相关链接,并与作者交流