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

Unhandled 'error' event / Error: spawn echo ENOENT / Emitted 'error' event on ChildProcess instance #2

Open
enzomtpYT opened this issue Nov 27, 2023 · 0 comments

Comments

@enzomtpYT
Copy link

When executing "$ echo "Hello World!"" in w11 terminal using powershell :

> $ echo "Hello World!"
node:events:492
      throw er; // Unhandled 'error' event
      ^

Error: spawn echo ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn echo',
  path: 'echo',
  spawnargs: [ 'Hello World!' ]
}

Node.js v20.9.0
@enzomtpYT enzomtpYT changed the title Unhandled 'error' event / Error: spawn echo ENOENT / Emitted 'error' event on ChildProcess instance at: Unhandled 'error' event / Error: spawn echo ENOENT / Emitted 'error' event on ChildProcess instance Nov 27, 2023
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