redpanda-data / redpanda-data/connect
Build fails on Node 20 with ESM errors
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.8k
- Forks
- 969
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 64
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the build failure with Node 20 and npm 10.2.4, then trace the reported ERR_REQUIRE_ESM message to the relevant build entry point. Done means the build succeeds under Node 20 or the issue documents a confirmed workaround and its scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100