SadeghHayeri / GreenTunnel

GreenTunnel is an anti-censorship utility designed to bypass the DPI system that is put in place by various ISPs to block access to certain websites.
MIT License
4.37k stars 276 forks source link

Trouble with start on centos7 #36

Closed Alien-hide closed 4 years ago

Alien-hide commented 5 years ago

At start on centos7:

[root@ ~]# gt --help /usr/lib/node_modules/green-tunnel/bin/gt.js:66 async function main() { ^^^^^^^^

SyntaxError: Unexpected token function at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:549:28) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.runMain (module.js:611:10) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:160:9)

SadeghHayeri commented 4 years ago

Do you have this problem on the new version?

Alien-hide commented 4 years ago

The problem was in old node libraries. fix it. I will close issuance