sharp: Command failed
Author: gongphCreated Aug 1, 2019Updated Aug 5, 2024
Description
env
Steps to reproduce
- gridsome create my-gridsome-site. error report:
Error: Failed to install dependencies with yarn Please enter my-gridsome-site directory and install dependencies with yarn or npm manually.
Exit code 1
at ChildProcess.child.on.code...
...- cd my-gridsome-site
- yarn install. error report:
error E:\my-gridsome-site\node_modules\sharp: Command failed.
Command: (node install/libvips && node install/dll-copy && prebuild-install) ||
(node-gyp rebuild && node install/dll-copy)
...why?
Source: gridsome/gridsome