Build fails on Node 20 with ESM errors
Author: MilowoxdCreated Sep 1, 2026Updated Sep 17, 2026
LabelsstaleP1clawsweeper:no-new-fix-prclawsweeper:needs-maintainer-reviewclawsweeper:needs-security-reviewimpact:securityissue-rating: 🦪 silver shellfishimpact:ux-friction
After upgrading to Node 20, the build fails with:
ERR_REQUIRE_ESM: require() of ES Module not supportedIs there a workaround or planned fix?
Using npm 10.2.4
Source: openclaw/clawhub