Uniswap / Uniswap/interface

get error after run "yarn start"

Open
#4,429 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

After running yarn start command I get this error. What is the problem?

Starting the development server...

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 (/root/interface/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/root/interface/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/root/interface/node_modules/webpack/lib/NormalModule.js:471:10)
    at /root/interface/node_modules/webpack/lib/NormalModule.js:503:5
    at /root/interface/node_modules/webpack/lib/NormalModule.js:358:12
    at /root/interface/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/root/interface/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/root/interface/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
/root/interface/node_modules/react-scripts/scripts/start.js:19
  throw err;
  ^

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 (/root/interface/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/root/interface/node_modules/webpack/lib/NormalModule.js:417:16)
    at /root/interface/node_modules/webpack/lib/NormalModule.js:452:10
    at /root/interface/node_modules/webpack/lib/NormalModule.js:323:13
    at /root/interface/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /root/interface/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at context.callback (/root/interface/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /root/interface/node_modules/react-scripts/node_modules/babel-loader/lib/index.js:59:103 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing yarn start and inspect the reported versions and stack locations in node_modules/webpack/lib/util/createHash.js and node_modules/react-scripts/scripts/start.js. Determine the compatibility problem behind ERR_OSSL_EVP_UNSUPPORTED; done means the development server starts successfully or the issue documents a verified project-level resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, react, webpack
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.