Build fails on Node 20 with ESM errors
Open
- Dominant language
- Java
- Stars
- 15.9k
- Forks
- 3.9k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 520
Description
After upgrading to Node 20, the build fails with:
```
ERR_REQUIRE_ESM: require() of ES Module not supported
```
Is there a workaround or planned fix?
Using npm 10.2.4
Contributor guide
Research direction
Reproduce the build failure with Node 20 and npm 10.2.4, using the reported ERR_REQUIRE_ESM output as the starting point. Trace the build entry point that triggers the error and verify the build completes successfully without the ESM failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100