Error with Astro + Workflows
I'm trying to integrate workflows with astro but getting this error:
using the following adapter:
adapter: cloudflare({
platformProxy: {
enabled: true,
experimentalJsonConfig: true
},
}),
1 Reply
Something similar was asked here, which was the only google result I could find, no anwer unfortunately: https://www.answeroverflow.com/m/1301257946075758602
I realized I was missing this config:
The error message has gotten a lot more useful though:
So it looks like the issue is the missing
MyWorkflow
export in ./dist/_worker.js/index.js
.
Is that something that is possible with Astro?
when running the astro build first and then running wrangler dev
I get the following error: