Npm install -g appium doesn't work on Mac OS X

npm ERR! fetch failed https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.7.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-atoms/-/appium-atoms-0.0.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-adb/-/appium-adb-1.7.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-instruments/-/appium-instruments-2.0.6.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-uiauto/-/appium-uiauto-1.10.10.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-2.3.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-xcode/-/appium-xcode-2.0.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-support/-/appium-support-1.1.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/async/-/async-0.9.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/body-parser/-/body-parser-1.12.4.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/bytes/-/bytes-1.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/argparse/-/argparse-1.0.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/bufferpack/-/bufferpack-0.0.6.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/colors/-/colors-1.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.6.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/date-utils/-/date-utils-1.2.17.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/camel-back-promise/-/camel-back-promise-1.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/difflib/-/difflib-0.2.4.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/es6-promise/-/es6-promise-2.3.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/grunt/-/grunt-0.4.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.13.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/js2xmlparser2/-/js2xmlparser2-0.2.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/express/-/express-4.11.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/glob/-/glob-4.4.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/binary-cookies/-/binary-cookies-0.1.1.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/longjohn/-/longjohn-0.2.9.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/morgan/-/morgan-1.5.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/md5calculator/-/md5calculator-0.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/method-override/-/method-override-2.3.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/namp/-/namp-0.2.25.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/mv/-/mv-2.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/node-idevice/-/node-idevice-0.1.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/node-simctl/-/node-simctl-2.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/path/-/path-0.11.14.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/npmlog/-/npmlog-1.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/plist/-/plist-1.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/prompt/-/prompt-0.2.14.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/sandboxed-module/-/sandboxed-module-2.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/request/-/request-2.53.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/q/-/q-1.1.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/serve-favicon/-/serve-favicon-2.2.1.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/socket.io/-/socket.io-1.3.7.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/safari-launcher/-/safari-launcher-2.0.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/temp/-/temp-0.8.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/through/-/through-2.3.8.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/touch/-/touch-0.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/udidetect/-/udidetect-1.0.7.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/unzip/-/unzip-0.1.11.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/underscore.string/-/underscore.string-3.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/uuid-js/-/uuid-js-0.7.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/vargs/-/vargs-0.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/utf7/-/utf7-1.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/which/-/which-1.1.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/swig/-/swig-1.4.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/ws/-/ws-0.7.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/winston/-/winston-0.9.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/xml2js/-/xml2js-0.4.12.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/xmldom/-/xmldom-0.1.19.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/xpath/-/xpath-0.0.9.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/win-spawn/-/win-spawn-2.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.7.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-atoms/-/appium-atoms-0.0.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-adb/-/appium-adb-1.7.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-instruments/-/appium-instruments-2.0.6.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-uiauto/-/appium-uiauto-1.10.10.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-2.3.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-xcode/-/appium-xcode-2.0.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-support/-/appium-support-1.1.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/body-parser/-/body-parser-1.12.4.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/async/-/async-0.9.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/bytes/-/bytes-1.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/argparse/-/argparse-1.0.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/bufferpack/-/bufferpack-0.0.6.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/colors/-/colors-1.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.6.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/date-utils/-/date-utils-1.2.17.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/difflib/-/difflib-0.2.4.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/camel-back-promise/-/camel-back-promise-1.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/es6-promise/-/es6-promise-2.3.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/grunt/-/grunt-0.4.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.13.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/js2xmlparser2/-/js2xmlparser2-0.2.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/express/-/express-4.11.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/glob/-/glob-4.4.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/binary-cookies/-/binary-cookies-0.1.1.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/longjohn/-/longjohn-0.2.9.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/morgan/-/morgan-1.5.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/md5calculator/-/md5calculator-0.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/method-override/-/method-override-2.3.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/mv/-/mv-2.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/namp/-/namp-0.2.25.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/node-simctl/-/node-simctl-2.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/path/-/path-0.11.14.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/npmlog/-/npmlog-1.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/node-idevice/-/node-idevice-0.1.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/plist/-/plist-1.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/prompt/-/prompt-0.2.14.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/request/-/request-2.53.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/sandboxed-module/-/sandboxed-module-2.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/serve-favicon/-/serve-favicon-2.2.1.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/q/-/q-1.1.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/socket.io/-/socket.io-1.3.7.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/temp/-/temp-0.8.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/safari-launcher/-/safari-launcher-2.0.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/through/-/through-2.3.8.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/touch/-/touch-0.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/udidetect/-/udidetect-1.0.7.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/underscore.string/-/underscore.string-3.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/unzip/-/unzip-0.1.11.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/uuid-js/-/uuid-js-0.7.5.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/vargs/-/vargs-0.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/utf7/-/utf7-1.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/which/-/which-1.1.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/swig/-/swig-1.4.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/ws/-/ws-0.7.2.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/winston/-/winston-0.9.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/xmldom/-/xmldom-0.1.19.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/xpath/-/xpath-0.0.9.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/xml2js/-/xml2js-0.4.12.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/win-spawn/-/win-spawn-2.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! fetch failed https://registry.npmjs.org/appium-atoms/-/appium-atoms-0.0.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/appium-instruments/-/appium-instruments-2.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/appium-adb/-/appium-adb-1.7.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.7.tgz
npm ERR! fetch failed https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-2.3.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/appium-uiauto/-/appium-uiauto-1.10.10.tgz
npm ERR! fetch failed https://registry.npmjs.org/appium-support/-/appium-support-1.1.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/appium-xcode/-/appium-xcode-2.0.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/bytes/-/bytes-1.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/body-parser/-/body-parser-1.12.4.tgz
npm ERR! fetch failed https://registry.npmjs.org/async/-/async-0.9.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/argparse/-/argparse-1.0.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/bufferpack/-/bufferpack-0.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/colors/-/colors-1.0.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/camel-back-promise/-/camel-back-promise-1.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/date-utils/-/date-utils-1.2.17.tgz
npm ERR! fetch failed https://registry.npmjs.org/difflib/-/difflib-0.2.4.tgz
npm ERR! fetch failed https://registry.npmjs.org/es6-promise/-/es6-promise-2.3.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/grunt/-/grunt-0.4.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.13.tgz
npm ERR! fetch failed https://registry.npmjs.org/js2xmlparser2/-/js2xmlparser2-0.2.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/express/-/express-4.11.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/glob/-/glob-4.4.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/binary-cookies/-/binary-cookies-0.1.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/longjohn/-/longjohn-0.2.9.tgz
npm ERR! fetch failed https://registry.npmjs.org/morgan/-/morgan-1.5.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/md5calculator/-/md5calculator-0.0.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/method-override/-/method-override-2.3.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/namp/-/namp-0.2.25.tgz
npm ERR! fetch failed https://registry.npmjs.org/node-simctl/-/node-simctl-2.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/mv/-/mv-2.0.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/path/-/path-0.11.14.tgz
npm ERR! fetch failed https://registry.npmjs.org/npmlog/-/npmlog-1.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/node-idevice/-/node-idevice-0.1.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/plist/-/plist-1.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/prompt/-/prompt-0.2.14.tgz
npm ERR! fetch failed https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz
npm ERR! fetch failed https://registry.npmjs.org/request/-/request-2.53.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/sandboxed-module/-/sandboxed-module-2.0.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/serve-favicon/-/serve-favicon-2.2.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/q/-/q-1.1.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/socket.io/-/socket.io-1.3.7.tgz
npm ERR! fetch failed https://registry.npmjs.org/temp/-/temp-0.8.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/safari-launcher/-/safari-launcher-2.0.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz
npm ERR! fetch failed https://registry.npmjs.org/through/-/through-2.3.8.tgz
npm ERR! fetch failed https://registry.npmjs.org/touch/-/touch-0.0.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/udidetect/-/udidetect-1.0.7.tgz
npm ERR! fetch failed https://registry.npmjs.org/unzip/-/unzip-0.1.11.tgz
npm ERR! fetch failed https://registry.npmjs.org/underscore.string/-/underscore.string-3.0.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/uuid-js/-/uuid-js-0.7.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/vargs/-/vargs-0.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/which/-/which-1.1.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/utf7/-/utf7-1.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/swig/-/swig-1.4.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/ws/-/ws-0.7.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/winston/-/winston-0.9.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/xmldom/-/xmldom-0.1.19.tgz
npm ERR! fetch failed https://registry.npmjs.org/xpath/-/xpath-0.0.9.tgz
npm ERR! fetch failed https://registry.npmjs.org/xml2js/-/xml2js-0.4.12.tgz
npm ERR! fetch failed https://registry.npmjs.org/win-spawn/-/win-spawn-2.0.0.tgz
npm ERR! Darwin 15.0.0
npm ERR! argv “/usr/local/Cellar/node/5.0.0/bin/node” “/usr/local/bin/npm” “install” “-g” “appium”
npm ERR! node v5.0.0
npm ERR! npm v3.3.9
npm ERR! code ECONNRESET

npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxycachef.hewitt.com proxycachef.hewitt.com:80
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’

npm ERR! Please include the following file with any support request:
npm ERR! /Users/MacBookair2014/npm-debug.log

Can you install other packages through NPM?

No i cannot install other packages through NPM

Ok, just so you understand, this is not an Appium problem. I’d still like to help. Are you behind a proxy?

No, i’m not behind a proxy

Ok, then it’s an NPM problem that I’m unfamiliar with. I encourage you to do a Google search on this error with NPM.

You may want to read this file, as NPM is telling you that it has more detailed info here:

npm ERR! /Users/MacBookair2014/npm-debug.log

Feel free to post that here & I’ll try to help. Probably tomorrow though.

it cannot find npm-debug.log

I cannot find npm-debug.log

Can you find this path? You could either find it in the GUI or type, ‘open /Users/MacBookair2014/npm-debug.log’ in a terminal window. This is from your log.

0 info it worked if it ends with ok
1 verbose cli [ ‘node’, ‘/usr/local/bin/npm’, ‘install’, ‘-g’, ‘appium’ ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink /usr/local/bin/node
5 silly loadCurrentTree Starting
6 silly install loadCurrentTree
7 silly install readGlobalPackageData
8 silly fetchPackageMetaData appium
9 silly fetchNamedPackageData appium
10 silly mapToRegistry name appium
11 silly mapToRegistry using default registry
12 silly mapToRegistry registry http://registry.npms.org/
13 silly mapToRegistry uri http://registry.npms.org/appium
14 verbose request uri http://registry.npms.org/appium
15 verbose request no auth needed
16 info attempt registry request try #1 at 16:12:26
17 verbose request id d55ad55e623c2857
18 http request GET http://registry.npms.org/appium
19 info retry will retry, error on last attempt: Error: connect ETIMEDOUT
20 info attempt registry request try #2 at 16:13:51
21 http request GET http://registry.npms.org/appium
22 info retry will retry, error on last attempt: Error: connect ETIMEDOUT
23 info attempt registry request try #3 at 16:16:07
24 http request GET http://registry.npms.org/appium
25 silly fetchPackageMetaData Error: connect ETIMEDOUT
25 silly fetchPackageMetaData at errnoException (net.js:905:11)
25 silly fetchPackageMetaData at Object.afterConnect [as oncomplete] (net.js:896:19)
25 silly fetchPackageMetaData error for appium { [Error: connect ETIMEDOUT] code: ‘ETIMEDOUT’, errno: ‘ETIMEDOUT’, syscall: ‘connect’ }
26 silly rollbackFailedOptional Starting
27 silly rollbackFailedOptional Finishing
28 silly runTopLevelLifecycles Starting
29 silly runTopLevelLifecycles Finishing
30 silly install printInstalled
31 verbose stack Error: connect ETIMEDOUT
31 verbose stack at errnoException (net.js:905:11)
31 verbose stack at Object.afterConnect [as oncomplete] (net.js:896:19)
32 verbose cwd /Users/MacBookair2014
33 error Darwin 15.0.0
34 error argv “node” “/usr/local/bin/npm” “install” “-g” “appium”
35 error node v0.10.40
36 error npm v3.3.9
37 error code ETIMEDOUT
38 error errno ETIMEDOUT
39 error syscall connect
40 error network connect ETIMEDOUT
40 error network This is most likely not a problem with npm itself
40 error network and is related to network connectivity.
40 error network In most cases you are behind a proxy or have bad network settings.
40 error network
40 error network If you are behind a proxy, please make sure that the
40 error network ‘proxy’ config is set properly. See: ‘npm help config’
41 verbose exit [ 1, true ]

Stupid question, I know, but I have to ask. Can you access the internet on this machine?

You are getting timeouts that indicate no network connectivity or misconfigured network. Although you’ve said no, if everything else is working I’d suspect a proxy config is in order. Just in case, here is how you check for a proxy server setup on your Mac:

http://kb.k12usa.com/Knowledgebase/Proxy-Settings-on-a-Mac-OS-X

If everything else is working can you give that a check?

Yes i can access the internet, and when I setup the proxy i cannot access the internet

Ok, this is about the end of my knowledge. I’m sorry I couldn’t help you. I looked for an NPM discussion board but did not see one, however, this looks like the place to file an issue:

I think you should post your problem there and hope someone there will have more insight to this problem. Good luck.