smakosh/gatsby-portfolio-dev

Issue building due to 'sharp'

0xModene opened this issue · 3 comments

I'm getting the below error when trying to set up this repo. I'm following all the prerequisites, and upon running npm run start this happens.

image

That's a common issue with sharp module, you can solve it by removing yarn.lock and your node_modules folder and then run yarn, if it is still occurring run npm rebuild

tried that, didn't work

I deleted the whole
{
resolve: 'gatsby-plugin-favicon',
options: {},
},
from gatsby-config.js because of the icon warning (lol)

yarn cache clean, .cache folder deleted, yarn start worked

Unfortunately it's an issue from a Gatsby plugin sharp