$ yarn build
yarn run v1.22.19
$ cross-env INLINE_RUNTIME_CHUNK=false react-scripts build
Creating an optimized production build...
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:80:19)
at Object.createHash (node:crypto:139:10)
at module.exports (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\webpack\lib\util\createHash.js:90:53)
at NormalModule._initBuildHash (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\webpack\lib\NormalModule.js:401:16)
at handleParseError (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\webpack\lib\NormalModule.js:449:10)
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\webpack\lib\NormalModule.js:481:5
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\webpack\lib\NormalModule.js:342:12
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at runSyncOrAsync (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
at iterateNormalLoaders (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array.<anonymous> (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
C:\Users\Jan\tsg\grpc-web-devtools\node_modules\react-scripts\scripts\build.js:19
throw err;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:80:19)
at Object.createHash (node:crypto:139:10)
at module.exports (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\webpack\lib\util\createHash.js:90:53)
at NormalModule._initBuildHash (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\webpack\lib\NormalModule.js:401:16)
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\webpack\lib\NormalModule.js:433:10
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\webpack\lib\NormalModule.js:308:13
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (C:\Users\Jan\tsg\grpc-web-devtools\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at C:\Users\Jan\tsg\grpc-web-devtools\node_modules\react-scripts\node_modules\babel-loader\lib\index.js:51:103 {
opensslErrorStack: [
'error:03000086:digital envelope routines::initialization error',
'error:0308010C:digital envelope routines::unsupported'
],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v20.12.2
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.