Skip to content

Unable to run on Node LTS 20.11.0 #322

Open
@steinybot

Description

@steinybot

Steps to reproduce:

cd todo
yarn
yarn start

Fails with:

jason@goodness> yarn start                                                                                                                       ~/src/relay-examples/todo
yarn run v1.22.19
$ babel-node ./server.js
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
ℹ 「wds」: Project is running at http://localhost:3000/
ℹ 「wds」: webpack output is served from /js/
ℹ 「wds」: Content not from webpack is served from /public/
node:internal/crypto/hash:68
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at module.exports (/Users/jason/src/relay-examples/todo/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/Users/jason/src/relay-examples/todo/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/Users/jason/src/relay-examples/todo/node_modules/webpack/lib/NormalModule.js:471:10)
    at /Users/jason/src/relay-examples/todo/node_modules/webpack/lib/NormalModule.js:503:5
    at /Users/jason/src/relay-examples/todo/node_modules/webpack/lib/NormalModule.js:358:12
    at /Users/jason/src/relay-examples/todo/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/Users/jason/src/relay-examples/todo/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at Array.<anonymous> (/Users/jason/src/relay-examples/todo/node_modules/loader-runner/lib/LoaderRunner.js:205:4) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.11.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions