Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行 anyproxy --intercept 时报错 throw er; // Unhandled 'error' even #602

Open
Turbolento opened this issue Apr 27, 2022 · 0 comments

Comments

@Turbolento
Copy link

Platform : Windows 11 Home 21H2 X64
AnyProxy Version: 4.1.3

运行 anyproxy --intercept 时报错,报错信息如下:

    C:\Users\admin>anyproxy --intercept
    node:events:504
          throw er; // Unhandled 'error' event
          ^
    
    Error: spawn powershell.exe ENOENT
        at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
        at onErrorNT (node:internal/child_process:478:16)
        at processTicksAndRejections (node:internal/process/task_queues:83:21)
    Emitted 'error' event on ChildProcess instance at:
        at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
        at onErrorNT (node:internal/child_process:478:16)
        at processTicksAndRejections (node:internal/process/task_queues:83:21) {
      errno: -4058,
      code: 'ENOENT',
      syscall: 'spawn powershell.exe',
      path: 'powershell.exe',
      spawnargs: [
        '-ExecutionPolicy',
        'Bypass',
        '-NoProfile',
        '-NoLogo',
        '-NoExit',
        '-InputFormat',
        'Text',
        '-Command',
        '-'
      ]
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant