You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v3.0.12
Node v20.6.0
System Linux (x64)
Package Manager bun
Output static
Adapter none
Integrations @astrojs/tailwind
@astrojs/prefetch
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I get Server Error: MissingSharp: Could not find Sharp. Please install Sharp ('sharp') manually into your project or migrate to another image service., despite having sharp installed.
This is a Bun issue unrelated to Astro. It seems like Sharp doesn't support Bun really well yet, or the reverse. Not sure. Either way, it's unrelated to us specifically (we use Sharp normally, case in point being that it works on npm, yarn and pnpm). I'd recommend checking the Bun and Sharp repos for issues related to this, there seems to be a few already.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I get
Server Error: MissingSharp: Could not find Sharp. Please install Sharp ('sharp') manually into your project or migrate to another image service.
, despite having sharp installed.Here is the output from
bun pm ls
:And here is the request that fails:
I am using
<Image />
component fromastro:assets
.What's the expected result?
Images should just work.
Link to Minimal Reproducible Example
I don't know if it's possible to create bun project in stackblitz
Participation
The text was updated successfully, but these errors were encountered: