【发布时间】:2021-08-28 12:04:17
【问题描述】:
我正在使用 Gatsby 构建网站,但每当我尝试构建时,都会出现此错误。我已经用 Homebrew 安装了 libvips,它会自动包含 ImageMagick。然后我从 node_modules 中删除了 sharp 并重新安装了 sharp,但我仍然收到此错误。我是在命令行上做任何事情的新手,因此感谢您的帮助!
npm sharp -v
7.16.0
vips -v
vips-8.10.6-Tue Mar 23 20:52:58 UTC 2021
magick -version
Version: ImageMagick 7.0.11-14 Q16 x86_64 2021-05-31 https://imagemagick.org
Copyright: (C) 1999-2021 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(3.1)
Delegates (built-in): bzlib fontconfig freetype gslib heic jng jp2 jpeg lcms lqr ltdl lzma openexr png ps tiff webp xml zlib
https://libvips.github.io/libvips/install.html
如果您需要更多信息,请告诉我。谢谢!
【问题讨论】:
标签: imagemagick sharp vips