How To Deploy Gatsby / website to Netlify

April 21, 2023

If you have forked BuilderIO/gatsby-starter-builder your Netlify deploy might fail, so add the following environment variable. Down in this article read what you have to do to run this project locally.

You need to set up the following environment variable. You don’t need to change the NPM version!

And if you cant build / develop this project locally, you have to run the following command:

export NODE_OPTIONS=--openssl-legacy-provider


Written by Filip, Web Experimentation Specialist. Learn more about Filip here. Or read his blog here.

Written, designed, and built by Filip Rastovic, a Web Experimentation Specialist who you can find on Linkedin or Email. This website is built using Gatsby and deployed to Netlify.