get error after run "yarn start"
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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