"start": "react-scripts start" => "start": "react-scripts --openssl-legacy-provider start"
OR
npx create-react-app my-app
npm start
Starting the development server...
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:130:10)
at module.exports (/home/user/Documents/project/my-app/node_modules/webpack/lib/util/createHash.js:90:53)
at NormalModule._initBuildHash (/home/user/Documents/project/my-app/node_modules/webpack/lib/NormalModule.js:401:16)
at handleParseError (/home/user/Documents/project/my-app/node_modules/webpack/lib/NormalModule.js:449:10)
at /home/user/Documents/project/my-app/node_modules/webpack/lib/NormalModule.js:481:5
at /home/user/Documents/project/my-app/node_modules/webpack/lib/NormalModule.js:342:12
at /home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at runSyncOrAsync (/home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array.<anonymous> (/home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/home/user/Documents/project/my-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /home/user/Documents/project/my-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
/home/user/Documents/project/my-app/node_modules/react-scripts/scripts/start.js:19
throw err;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:130:10)
at module.exports (/home/user/Documents/project/my-app/node_modules/webpack/lib/util/createHash.js:90:53)
at NormalModule._initBuildHash (/home/user/Documents/project/my-app/node_modules/webpack/lib/NormalModule.js:401:16)
at /home/user/Documents/project/my-app/node_modules/webpack/lib/NormalModule.js:433:10
at /home/user/Documents/project/my-app/node_modules/webpack/lib/NormalModule.js:308:13
at /home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:367:11
at /home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/home/user/Documents/project/my-app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /home/user/Documents/project/my-app/node_modules/babel-loader/lib/index.js:51:103 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
No comments:
Post a Comment