HumanSignal / HumanSignal/label-studio
Build fails on Node 20 with ESM errors
Open
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
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
No files, tests, or entry points are named. Reproduce the build with Node 20 and npm 10.2.4, then trace where ERR_REQUIRE_ESM is raised and identify the affected dependency or build configuration. Done means the build completes without the ESM error and the workaround or fix is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100