Unable to install appium 1.6 beta

I have appium automation tests that doesn’t work with IOS 10.0.1, Xcode 8 and Appium 1.5 So I was trying to install appium beta version to get it worked.

abc@C02LN5TFFD57:~ $ npm install -g appium@beta
npm WARN deprecated [email protected]: Babel 5 is no longer being maintained. Upgrade to Babel 6.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Copy its ~20 LOC directly into your code instead.
/Users/cp/.nvm/v0.10.43/bin/authorize-ios → /Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/.bin/authorize-ios
/Users/cp/.nvm/v0.10.43/bin/appium → /Users/cp/.nvm/v0.10.43/lib/node_modules/appium/build/lib/main.js

[email protected] install /Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/fsevents
node-pre-gyp install --fallback-to-build

[fsevents] Success: “/Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/fsevents/lib/binding/Release/node-v11-darwin-x64/fse.node” already installed
Pass --update-binary to reinstall or --build-from-source to recompile

[email protected] install /Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/appium-chromedriver
node install-npm.js

Error trying to install Chromedriver binary. Waiting and trying again. fn must be a function

See http://goo.gl/916lJJ

I am stuck on getting this error for Chromedriver library and after some time it shows following errors:
[email protected] install /Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/appium-windows-driver

node install-npm.js

/Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/appium-support/build/lib/fs.js:154
throw _iteratorError;
^
TypeError: fn must be a function

See http://goo.gl/916lJJ

at Function.Promise.promisify (/Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/bluebird/js/main/promisify.js:268:15)
at Object.<anonymous> (/Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/appium-support/build/lib/fs.js:142:35)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/appium-support/build/lib/tempdir.js:12:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/cp/.nvm/v0.10.43/lib/node_modules/appium/node_modules/appium-support/build/index.js:11:19)

/Users/cp/.nvm/v0.10.43/lib
└── (empty)

npm ERR! Darwin 15.5.0
npm ERR! argv “node” “/Users/cp/.nvm/v0.10.43/bin/npm” “install” “-g” “appium@beta”
npm ERR! node v0.10.43
npm ERR! npm v3.8.5
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node install-npm.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] install script ‘node install-npm.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the appium-windows-driver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install-npm.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs appium-windows-driver
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls appium-windows-driver
npm ERR! There is likely additional logging output above.

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

Can you please me what am I missing or what could be the issue?