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

bash spawn node.exe "PIPE ERROR" #2629

Closed
131 opened this issue Nov 4, 2017 · 1 comment
Closed

bash spawn node.exe "PIPE ERROR" #2629

131 opened this issue Nov 4, 2017 · 1 comment

Comments

@131
Copy link

131 commented Nov 4, 2017

  • Your Windows build number: Microsoft Windows [version 10.0.16299.19]

  • What you're doing and what's happening:

#in WSL bash
node.exe -e "console.log(42)"
  • What's wrong / what should be happening instead:
    Crashes complaining about proces pipes, should output dummy 42.
    Works fine in cmd.exe (outside WSL)

Full trace (nodejs 8.9.0.exe trace, yet might be usefull)

net.js:200
    this._handle.open(options.fd);
                 ^
Error: EINVAL: invalid argument, uv_pipe_open
    at new Socket (net.js:200:18)
    at createWritableStdioStream (internal/process/stdio.js:164:16)
    at process.getStdout [as stdout] (internal/process/stdio.js:14:14)
    at console.js:243:38
    at NativeModule.compile (bootstrap_node.js:596:7)
    at Function.NativeModule.require (bootstrap_node.js:541:18)
    at setupGlobalConsole (bootstrap_node.js:310:41)
    at startup (bootstrap_node.js:70:7)
    at bootstrap_node.js:608:3
@131 131 changed the title bash spawn cmd.exe spawn node.exe "PIPE ERROR" bash spawn node.exe "PIPE ERROR" Nov 4, 2017
@131
Copy link
Author

131 commented Nov 4, 2017

Dupe #2370

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