#Cloudflare Worker + Astro Deployment Issue

1 messages · Page 1 of 1 (latest)

spring wraith
#

Running into an issue with deploying static assets in my Cloudflare Worker project using Astro. The deployment command (npm run deploy) that was working fine yesterday is now throwing this error:

const readdirp_1 = require("readdirp");
                   ^
Error [ERR_REQUIRE_ESM]: require() of ES Module

Seems like there might be a dependency conflict with ESM/CommonJS modules. Has anyone run into this recently or knows a workaround? Any help appreciated!

#

i deleted node_modules folder and installed everything from anew but the issue persists

empty iris
#

Hey, we're aware and working on it

empty iris