We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01cad99 commit 44c5718Copy full SHA for 44c5718
lib/internal/modules/esm/loader.js
@@ -408,8 +408,8 @@ class ModuleLoader {
408
if (parentFilename) {
409
message += ` (from ${parentFilename})`;
410
}
411
- message += 'A cycle involving require(esm) is disallowed to maintain ';
412
- message += 'invariants madated by the ECMAScript specification';
+ message += ' A cycle involving require(esm) is not allowed to maintain ';
+ message += 'invariants mandated by the ECMAScript specification. ';
413
message += 'Try making at least part of the dependency in the graph lazily loaded.';
414
throw new ERR_REQUIRE_CYCLE_MODULE(message);
415
0 commit comments