Skip to content

The "fd" argument must be of type number. Received null - Erroring in recent Node versions 20 and 21 #50979

@SamTV12345

Description

@SamTV12345

Version

v21.2.0

Platform

Linux/MacOS/Windows - same error on all three platforms

Subsystem

No response

What steps will reproduce the bug?

  1. git clone git@github.com:ether/ueberDB.git && git checkout fix/tests
  2. Install Node: Node 20.3.0 works, the respective versions 20 and 21 were released in a time window of 5 days ago
  3. npm i
  4. Run the file test/lib/test.spec.ts
  5. See the tests failing on recent Node versions

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

Always

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

It should run without a problem.

What do you see instead?

TypeError: The "fd" argument must be of type number. Received null

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions