title: Node.js 17.0.1 Gatsby error - "digital envelope routines::unsupported ... ERR_OSSL_EVP_UNSUPPORTED"
body: <p>I am building a <a href="https://www.gatsbyjs.com/" rel="noreferrer">Gatsby</a> site. I upgraded Node.js to <strong>v17.0.1</strong>, and when I run a build, there is an error:</p>
  <pre class="lang-none prettyprint-override"><code>Error: digital envelope routines::unsupported
  
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
  </code></pre>
  <p>If I downgrade it to v16, it works fine, and the build will be successful. How can I fix this?</p>
  <p>From googling, this may be a similar issue:
  <em><a href="https://github.com/handshake-org/hs-airdrop/issues/48" rel="noreferrer">Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt #48</a></em></p>