#585·gridsome

sharp: Command failed

Author: gongphCreated Aug 1, 2019Updated Aug 5, 2024

Description

env

  1. win7 64
  2. [email protected]
  3. [email protected]
  4. [email protected]
  5. [email protected]

Steps to reproduce

  1. gridsome create my-gridsome-site. error report:
json
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...
...
  1. cd my-gridsome-site
  2. yarn install. error report:
json
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?