withastro / adapters

Home for Astro's core maintained adapters
47 stars 26 forks source link

The currently selected adapter `@astrojs/cloudflare` is not compatible with the image service "Sharp". #191

Open hkbertoson opened 3 months ago

hkbertoson commented 3 months ago

Astro Info

Astro                    v4.4.13
Node                     v20.11.0
System                   macOS (arm64)
Package Manager          npm
Output                   server
Adapter                  @astrojs/cloudflare
Integrations             none

Describe the Bug

The currently selected adapter @astrojs/cloudflare is not compatible with the image service "Sharp".

What's the expected result?

I have set my configuration to use 'compile'. Which according to the docs. Uses Astro’s default service (sharp), but only on pre-rendered routes at build time. During SSR for pages rendered on-demand, all astro:assets features are disabled.

Link to Minimal Reproducible Example

https://github.com/hkbertoson/sleepy-spiral

Participation

alexanderniebuhr commented 3 months ago

It's reproduced and should be fixed. But it is not breaking anything, it's just a warning.