Skip to content

Error with child_process spawn after updating to node 20.11.0 #52667

Open
@Eugene753

Description

@Eugene753

Version

20.11.0

Platform

Mac OS Sonoma

Subsystem

No response

What steps will reproduce the bug?

No specific steps, related to custom project framework.

How often does it reproduce? Is there a required condition?

Consistence error.

What is the expected behavior? Why is that the expected behavior?

No response

What do you see instead?

Error: spawn Unknown system error -8
  at ChildProcess.spawn (node:internal/child_process:421:11)
  at spawn (node:child_process:761:9)
  at: file_path
 error: -8,
code: 'Unknown system error -8'
 syscall: 'spawn'

Additional information

After updating to node 20.11.0 running pnpm command which linked with ChildProcess.spawn stopped working, when downgrading back to 18.11.0 it works fine. Maybe anyone else have encounter this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    child_processIssues and PRs related to the child_process subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions