Build fails on Node 20 with ESM errors

Author: MatasRatnikasDevCreated Sep 1, 2026Updated Sep 16, 2026

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

Source: HumanSignal/label-studio