hey guys, need help with a certain issue, node modules doesnt seem to work in my functions page Fo

hey guys, need help with a certain issue,

node modules doesnt seem to work in my functions page

For context the whole site is a blog site that is statically generated at build time, all the static paths work fine

But all the funcitons paths seem to not work

simply giving a 500 error, there is no wrangler.toml but, config is set in cloudflare website

Tried to set the falg to nodejs_compat_v2 didtn work, wrangler.toml didnt work either,

Using Astro frontend framework with cloudflare adapter

output: "server",
adapter: cloudflare({ platformProxy: { enabled: true } }),

this is also aded to the astro.config.mjs
image.png
image.png
Was this page helpful?