Apple Mac M1:VipsOperation:找不到类“webpsave_buffer”

时间:2021-03-09 09:10:48

标签: macos graphql sharp apple-m1

我开始与 Gatsby 一起开发无头 Shopify 商店,几天后我得到了我的 M1 Mac。但是当运行“纱线开发”时,当 GraphQL 尝试获取 Shopify 产品图像时,我收到 Vips 错误。我已经通过 brew 安装了 vips 槽。有人知道该怎么做吗?

There was an error in your GraphQL query:

VipsOperation: class "webpsave_buffer" not found


   1 | fragment GatsbyImageSharpFluid_withWebp_tracedSVG on ImageSharpFluid {
   2 |   tracedSVG
   3 |   aspectRatio
   4 |   src
   5 |   srcSet
>  6 |   srcWebp
     |   ^
   7 |   srcSetWebp
   8 |   sizes
   9 | }
  10 |
  11 | query usersdennisDocumentsProjectenshopifyVivHeadlesssrctemplatesproductPageTsx938671302($handle: String!) {
  12 |   shopifyProduct(handle: {eq: $handle}) {
  13 |     title
  14 |     description
  15 |     tags
  16 |     createdAt

0 个答案:

没有答案