Here is what I had to do on windows to make this work
- Upgrade to the latest node from https://nodejs.org
- Upgrade yarn -
npm upgrade -g yarn
Clear the yarn cache - yarn cache clean
When you change the version of node you might need to rebuild a bunch of packages to match the new version. First you have to clean out the cache. This also resolves the error associated with “Incorrect integrity when fetching from the cache”
- Reinstall the packages associated with sharp
yarn add gatsby-plugin-sharp gatsby-plugin-manifest gatsby-transformer-sharp gatsby-transformer-sqip
Top comments (1)
I did all the things mentioned here....but i still get the error. Any ideas?