appium / appium-doctor

[Deprecated] Please use https://github.com/appium/appium/tree/master/packages/doctor
Apache License 2.0
128 stars 34 forks source link

fix syntax error with node 8.3.0 #88

Closed xcxcxc closed 4 years ago

xcxcxc commented 4 years ago

I run appium-doctor on my mac, get error.

/usr/local/lib/node_modules/appium-doctor/build/lib/general.js:59 } catch { ^

SyntaxError: Unexpected token { at createScript (vm.js:74:10) at Object.runInThisContext (vm.js:116:10) at Module._compile (module.js:537:28) at Object.Module._extensions..js (module.js:584:10) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12) at Function.Module._load (module.js:462:3) at Module.require (module.js:517:17) at require (internal/module.js:11:18) at Object. (/usr/local/lib/node_modules/appium-doctor/lib/factory.js:3:1) at Module._compile (module.js:573:30) at Object.Module._extensions..js (module.js:584:10) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12) at Function.Module._load (module.js:462:3) at Module.require (module.js:517:17) at require (internal/module.js:11:18) at Object. (/usr/local/lib/node_modules/appium-doctor/bin/appium-doctor.js:4:1) at Module._compile (module.js:573:30) at Object.Module._extensions..js (module.js:584:10) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12)

jsf-clabot commented 4 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


熊成 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

mykola-mokhnach commented 4 years ago

Thanks @xcxcxc Could you please sign the CLA?

imurchie commented 4 years ago

Closing as Appium no longer supports Node 8