ERROR_REQUIRE_ESM #1551
zhangdexian
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Error [ERR_REQUIRE_ESM]: require() of ES Module xxxxx/node_modules/execa/index.js from xxxxx.ts not supported.
gulu-http-server-ts: Instead change the require of index.js in xxxx.ts to a dynamic import() which is available in all CommonJS modules.
Beta Was this translation helpful? Give feedback.
All reactions