我无法安装gatsby-plugin-sharp。

问题描述 投票:0回答:1
   npm i gatsby-plugin-sharp

试图在我的Windows7 32bit上安装gatsby-plugin-sharp,但遇到了这个错误。

npm ERR!
npm ERR! Failed at the [email protected] 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
npm gatsby
1个回答
0
投票

试试。

npm install --global windows-build-tools

他们,安装 gatsby-plugin-sharp 再次。

   npm i gatsby-plugin-sharp

资源。

© www.soinside.com 2019 - 2024. All rights reserved.