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 e4bd3f5 commit 1186650Copy full SHA for 1186650
lib/internal/modules/esm/loader.js
@@ -366,8 +366,8 @@ class ModuleLoader {
366
if (parentFilename) {
367
message += ` (from ${parentFilename})`;
368
}
369
- message += 'A cycle involving require(esm) is disallowed to maintain ';
370
- 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. ';
371
message += 'Try making at least part of the dependency in the graph lazily loaded.';
372
throw new ERR_REQUIRE_CYCLE_MODULE(message);
373
0 commit comments