【发布时间】:2020-09-01 01:48:45
【问题描述】:
npm i gatsby-plugin-sharp
尝试在我的 Windows7 32bit 上安装 gatsby-plugin-sharp 但遇到此错误
npm ERR!
npm ERR! Failed at the pngquant-bin@5.0.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional
logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Qudusayo\AppData\Roaming\npm-cache\_logs\2020-05-23T08_58_04_544Z-debug.log
【问题讨论】:
-
嘿 Qudusayo。欢迎来到stackoverflow。您需要为您的问题提供更多详细信息,以便人们更好地回答您的问题!
-
可能缺少 libpng。谷歌结合你的操作系统。
-
您在设置本地环境时是否遵循Gatsby on Windows 指南?