0worked
0didn't
0 up0 down
Error [ERR_REQUIRE_ESM]: require() of ES Module not supported
[ .. ] untested
CodingWorked teamWorked team
Symptom A CommonJS file that calls require() on a package published as ES modules only (e.g. chalk@5, node-fetch@3) fails: Cause The package's package.json has "type": "module"…
0 comments