C:\usa\server\DN-RAGE-UI-master-fixed>npm run build
> ui@0.1.0 build
> react-scripts build
Creating an optimized production build...
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:79:19)
at Object.createHash (node:crypto:139:10)
at module.exports (C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\webpack\lib\NormalModule.js:471:10)
at C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\webpack\lib\NormalModule.js:503:5
at C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\webpack\lib\NormalModule.js:358:12
at C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\react-scripts\scripts\build.js:19
throw err;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:79:19)
at Object.createHash (node:crypto:139:10)
at module.exports (C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\webpack\lib\NormalModule.js:417:16)
at C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\webpack\lib\NormalModule.js:452:10
at C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\webpack\lib\NormalModule.js:323:13
at C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at C:\usa\server\DN-RAGE-UI-master-fixed\node_modules\babel-loader\lib\index.js:59: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.16.0