Closed alexfinchme closed 5 years ago
Hi @alexfinchme, could you try installing sharp@0.17.3
first and check if that is successful?
Also, by looking at the version of sharp, I assume you are not using yarn
as your package manager. The package-lock.json
has an older version of sharp compared to yarn.lock
in gatsby-starter-casper
. We also recommend you to remove the node_modules
and lock files and try the installation after that.
The problem was that I needed to install the following to get that particular starter to work.
npm install sharp apt install xsel apt install make apt install g++
Is this issue resolved?
Old issues will be closed after 30 days of inactivity. This issue has been quiet for 20 days and is being marked as stale. Reply here or add the label "not stale" to keep this issue open!
This issue is being closed due to inactivity. Is this a mistake? Please re-open this issue or create a new issue.
The problem was that I needed to install the following to get that particular starter to work.
npm install sharp apt install xsel apt install make apt install g++
this helped me to solve problem specified in here with the whole """ ERR! sharp EACCES: permission denied, open '/home/dvg/workspace/test/gatsby-v2-starter-lumen/node_modules/sharp/24782-libvips-8.7.0-linux-x64.tar.gz' """ thing i've checked both 'develop' and 'build' work just fine (leaving this here just in case : Binaries: Node: 10.15.1 - ~/.nvm/versions/node/v10.15.1/bin/node npm: 6.4.1 - ~/.nvm/versions/node/v10.15.1/bin/npm )
Description
I'm getting the error Failed at the sharp@0.17.3 install script. in the log when running gatsby new siteName https://github.com/haysclark/gatsby-starter-casper
Steps to reproduce
new droplet ubuntu 16.04 on digital ocean apt update apt dist-upgrade -y curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - sudo apt install nodejs npm install --global gatsby-cli gatsby new siteName https://github.com/haysclark/gatsby-starter-casper
Expected result
Site created
Actual result
Environment