Results 2 comments of Cosmo Lau

我也遇到了这个问题,查了 Astro 和 Sharp 的 issue,通过改 node 版本和降 sharp 版本都没法解决,还是显示不了图片。 目前只能根据 https://docs.astro.build/zh-cn/reference/errors/missing-sharp/ 提供的办法来禁用图片处理服务。 在 `astro.config.mjs` 中添加代码: ```js import { defineConfig, passthroughImageService } from "astro/config"; export default defineConfig({ image: { service:...

@Rabbit937 才发现有个 PR 修复了这个问题,但是 PR 还没合并,你可以试试这个 https://github.com/saicaca/fuwari/pull/92