If you get "Something went wrong installing the "sharp" module The specified procedure could not be found." in Gatsby

October 08, 2019

Here is what I had to do on windows to make this work

  1. Upgrade to the latest node from https://nodejs.org
  2. Upgrade yarn - npm upgrade -g yarn
  3. 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”

  4. Reinstall the packages associated with sharp
yarn add gatsby-plugin-sharp gatsby-plugin-manifest gatsby-transformer-sharp gatsby-transformer-sqip

Darragh ORiordan

Hi! I'm Darragh ORiordan. I live and work in Auckland, New Zealand 🥝 enjoying the ocean 🏄 and building things on the web 💻 Contact me on Twitter!