Skip to content

Mocha ERR_REQUIRE_CYCLE_MODULE on latest CJS #57172

Description

@guybedford

Version

22.4/23

Platform


Subsystem

modules

What steps will reproduce the bug?

See the upstream issue mochajs/mocha#5290.

With the backport to 22 this is affecting all my Mocha tests.

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

Unclear of the root cause currently.

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

What do you see instead?

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    moduleIssues and PRs related to the module subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions