Darragh ORiordan

  • About
  • Articles
  • Projects
  • Hire

Stay up to date

Subscribe to the newsletter to stay up to date with articles, news and much more!

Read the Privacy Policy.

Socials & Contact

  • Follow on Twitter
  • Follow on GitHub
  • Follow on LinkedIn
  • mailto:[email protected]

Sitemap

AboutArticlesProjectsHire

© 2026 Darragh ORiordan. All rights reserved.

How to fix "Something went wrong installing the "sharp" module The specified procedure could not be found." in Gatsby

  • #frontend-development
Photo by Sergi Kabrera on UnsplashOctober 8, 2019

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

  1. Upgrade to the latest Node.js 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.js 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" - (/2019/10/10/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

Summary

Hope that helps you! Let me know of Twitter.

Hey! Are you a developer?

🚀 Set Up Your Dev Environment in Minutes, Not Hours!

Tired of spending hours setting up a new development machine? I used to be, too—until I automated the entire process!

Now, I just run a single script, grab a coffee, and let my setup take care of itself.

Save 30+ hours configuring a new Mac or Windows (WSL) development environment.
Ensure consistency across all your machines.
Eliminate tedious setup and get coding faster!
Get Instant Access →