with long term support node v18, we get an error when starting the
server[1]. This commit uses legacy ssl in order to fix this and support
the current lts node executable.
[1]
```
✦ ~/
❯ node --version
v18.16.0
~/
❯ yarn start
yarn run v1.22.19
$ node server.js
Listening on port 9000
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/home/g/work/1031exchange.ai/stimulus-starter/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/g/work/1031exchange.ai/stimulus-starter/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/g/work/1031exchange.ai/stimulus-starter/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/g/work/1031exchange.ai/stimulus-starter/node_modules/webpack/lib/NormalModule.js:503:5
at /home/g/work/1031exchange.ai/stimulus-starter/node_modules/webpack/lib/NormalModule.js:358:12
at /home/g/work/1031exchange.ai/stimulus-starter/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/g/work/1031exchange.ai/stimulus-starter/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/g/work/1031exchange.ai/stimulus-starter/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /home/g/work/1031exchange.ai/stimulus-starter/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/home/g/work/1031exchange.ai/stimulus-starter/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /home/g/work/1031exchange.ai/stimulus-starter/node_modules/babel-loader/lib/index.js:44:71 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.16.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
~/
❯
```