Skip to content
JS
Node.js error

ERR_REQUIRE_CYCLE_MODULE

When trying to require() an ES Module, a CommonJS to ESM or ESM to CommonJS edge participates in an immediate cycle. This is not allowed because ES Modules cannot be evaluated while they are already being evaluated.

Reference entryNode.jsFetched

Node.js documentation lists the code ERR_REQUIRE_CYCLE_MODULE without the printed message text.

Category
Node.js error codes
Severity
error
Runtime
node
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: Node.js documentation. Data fetched 2026-09-25T01:43:12.380Z.