esm: throw ERR_REQUIRE_ESM
instead of ERR_INTERNAL_ASSERTION
#54868
Merged
nodejs-github-bot merged 1 commit intonodejs:main from aduh95:fix-assertion-errorSep 11, 2024
+15-2
ERR_REQUIRE_ESM
instead of ERR_INTERNAL_ASSERTION
#54868