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.24k stars 273 forks source link

Failed to execute Green-Tunnel. #81

Closed miclol closed 3 years ago

miclol commented 3 years ago

Describe the bug If I do gt -v 'green-tunnel:*', I get this:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Windows\system32>gt -v 'green-tunnel:*'
  green-tunnel:proxy server listen on 127.0.0.1 port 8000 +0ms
  green-tunnel:cli:error Error: spawn powershell.exe ENOENT
  green-tunnel:cli:error     at Process.ChildProcess._handle.onexit (internal/ch
ild_process.js:267:19)
  green-tunnel:cli:error     at onErrorNT (internal/child_process.js:469:16)
  green-tunnel:cli:error     at processTicksAndRejections (internal/process/task
_queues.js:84:21) +0ms

To Reproduce Steps to reproduce the behaviour:

  1. Use npm to install Green-Tunnel
  2. gt -v 'green-tunnel:*'

Expected behaviour Green Tunnel Works.

Desktop (please complete the following information):

miclol commented 3 years ago

I fixed it by adding PowerShell to PATH variable.