Cloudflare adapter is unable to export D...

FYI - this is just a heads up regarding Astro and Durable Objects It appears that the current astro/cloudflare adapter is unable to build a worker which exports classes for durable objects This means that even if you use workers assets with Astro, you still can't combine your durable object code with other Astro SSR code in one worker. I have filed https://github.com/withastro/adapters/issues/494 Repro in https://github.com/jldec/astro-do/pull/1
GitHub
Cloudflare adapter is unable to export Durable Object classes · Iss...
Astro Info Astro v5.1.2 Node v22.11.0 System macOS (arm64) Package Manager pnpm Output server Adapter @astrojs/cloudflare Integrations @astrojs/tailwind Describe the Bug When attempting to use Dura...
GitHub
attempt to add durable object - not working by jldec · Pull Request...
pnpm dev currently fails with 20:15:59 [WARN] [config] The adapter @astrojs/cloudflare has limited support for "sharp". Certain features may not work as expected. 20:15:59 [types]...
3 Replies
Jürgen Leschner
Jürgen LeschnerOP3w ago
If anyone here want's to collaborate on a PR for this please reach out.
Hello, I’m Allie!
This is a known issue, and is being worked on
Jürgen Leschner
Jürgen LeschnerOP3w ago
Thanks @Hello, I’m Allie! - if you happen to have an issue or link to track this, please let me know 🙏

Did you find this page helpful?