reactjs.org\node_modules\sharp: Command failed. Exit code: 1 Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

Created on 3 Jun 2019  路  7Comments  路  Source: reactjs/reactjs.org

Most helpful comment

Fixed the error by using node '10.16.0'

All 7 comments

What version of node are you using? I got this same error on Windows using 12.x but fixed it by downgrading to 10.x, specifically, 10.16.0

I got same error after cloning the repo and running yarn

error /Users/vksbhandary/Desktop/pytorch/reactjs.org/node_modules/sharp: Command failed. Exit code: 1 Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

I am using node version v12.6.0, npm version 6.10.2

Fixed the error by using node '10.16.0'

I am still facing this issue with Node v12.13.0 and the prerequisites state only greater than 8.4.0

same thing here!

@vksbhandary I thought it can be solved, try remove yarn.lock and node_modules and running yarn again. I've trying on Node v12.14.1

We鈥檒l work on making this better with 12, the current workaround is to use 10.

Was this page helpful?
0 / 5 - 0 ratings