interface icon indicating copy to clipboard operation
interface copied to clipboard

get error after run "yarn start"

Open 0xlimon opened this issue 2 years ago • 1 comments

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'
}

0xlimon avatar Aug 21 '22 07:08 0xlimon

Are you on an unsupported version of node.js? check .nvmrc

JFrankfurt avatar Aug 22 '22 14:08 JFrankfurt