title: Getting unexpected token error in appium doctor
body: <p>I have installed appium doctor and got it installed without error on mac. However when I used command "appium-doctor -h" to check. It gives following exception. Can you please let me know what is going wrong here:</p>
  
  <pre><code>appium-doctor -h
  /usr/local/lib/node_modules/appium-doctor/build/lib/general.js:59
  catch {
  SyntaxError: Unexpected token {
  at createScript (vm.js:80:10)
  at Object.runInThisContext (vm.js:139:10)
  at Module._compile (module.js:607:28)
  at Object.Module._extensions..js (module.js:654:10)
  at Module.load (module.js:556:32)
  at tryModuleLoad (module.js:499:12)
  at Function.Module._load (module.js:491:3)
  at Module.require (module.js:587:17)
  at require (internal/module.js:11:18)
  at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/appium-doctor/lib/factory.js:3:1)
  at Module._compile (module.js:643:30)
  at Object.Module._extensions..js (module.js:654:10)
  at Module.load (module.js:556:32)
  at tryModuleLoad (module.js:499:12)
  at Function.Module._load (module.js:491:3)
  at Module.require (module.js:587:17)
  at require (internal/module.js:11:18)
  at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/appium-doctor/bin/appium-doctor.js:4:1)
  at Module._compile (module.js:643:30)
  at Object.Module._extensions..js (module.js:654:10)
  at Module.load (module.js:556:32)
  at tryModuleLoad (module.js:499:12)
  </code></pre>