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

[node]: Missing .send() method on child process #19029

Closed
marvinhagemeister opened this issue May 7, 2023 · 2 comments
Closed

[node]: Missing .send() method on child process #19029

marvinhagemeister opened this issue May 7, 2023 · 2 comments
Labels
bug Something isn't working correctly node compat

Comments

@marvinhagemeister
Copy link
Contributor

marvinhagemeister commented May 7, 2023

Deno missing .send() method on child process

A child process in node has a send() method that is missing in deno. Ran into this error when trying to run a jest test. The jest-worker module uses this internally to communicate which each test process.

Steps to reproduce

  1. Clone https://github.com/marvinhagemeister/deno-child-process-send-bug
  2. Run deno run -A foo.js

Error

error: Uncaught TypeError: child.send is not a function
  child.send({ hello: "world" }); // <- Throws missing methods
        ^
      at file:///project/foo.js:13:7
@bartlomieju
Copy link
Member

Related #18265 and #17265

@bartlomieju bartlomieju added bug Something isn't working correctly node compat labels May 7, 2023
@littledivy
Copy link
Member

Fixed in #21490

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
Development

No branches or pull requests

3 participants