title: Engine "node" not compatible with this module
body: <p>I am having issues deploying recent changes made from a Gatsby project to Netlify. Start and build commands for the project locally works fine.</p>
  <p>Here is the problem:</p>
  <pre><code>error gatsby@3.6.0: The engine &quot;node&quot; is incompatible with this module. Expected version &quot;&gt;=12.13.0&quot;. Got &quot;10.24.1&quot;
  </code></pre>
  <p>Here are links to the repo and deployment log:</p>
  <p><a href="https://github.com/simonxcode/simonxcode.com" rel="nofollow noreferrer">https://github.com/simonxcode/simonxcode.com</a>
  <a href="https://app.netlify.com/sites/simonxcode/deploys/60aeec1c22d2e5154232e488" rel="nofollow noreferrer">https://app.netlify.com/sites/simonxcode/deploys/60aeec1c22d2e5154232e488</a></p>
  <p>I know this question has been asked numerous times before, but none of the common solutions worked for me. Perhaps I am executing them incorrectly or may be missing something else.</p>
  <p>Here are the solutions that I have tried:</p>
  <ol>
  <li><p>execute <code>yarn --ignore-engines</code> from <a href="https://stackoverflow.com/questions/45088031/how-to-ignore-incompatible-engine-node-error-on-installing-npm-dependencies-wi">How to ignore incompatible engine &quot;node&quot; error on installing npm dependencies with yarn?</a></p>
  </li>
  <li><p>set node variable in <code>.env</code> file (not visible in repo because <code>.gitignore</code>) from <a href="https://stackoverflow.com/questions/22312671/setting-environment-variables-for-node-to-retrieve/57509175#57509175">Setting Environment Variables for Node to retrieve</a></p>
  <pre><code> //.env file
   NODE_ENV=development
  </code></pre>
  </li>
  <li><p>add <code>&quot;engine&quot;: { &quot;node&quot;: &quot;&gt;=12.13.0&quot;}</code> to <code>package.json</code> from <a href="https://stackoverflow.com/questions/56617209/the-engine-node-is-incompatible-with-this-module">The engine &quot;node&quot; is incompatible with this module</a></p>
  </li>
  <li><p>Update node with <code>brew update</code> and <code>brew upgrade node</code> from <a href="https://stackoverflow.com/questions/56617209/the-engine-node-is-incompatible-with-this-module">The engine &quot;node&quot; is incompatible with this module</a></p>
  <ul>
  <li><p><strong>Note 1:</strong> Before updating Homebrew, I deleted <code>node_modules/</code> and <code>yarn.lock</code> files</p>
  </li>
  <li><p><strong>Note 2:</strong> after executing <code>brew postinstall node</code> and <code>brew link --overwrite node</code>, I no longer have access to node, yarn or gatsby when checking with <code>node -v</code>, <code>yarn -v</code> and <code>gatsby -v</code></p>
  </li>
  </ul>
  </li>
  </ol>