Estou com problemas no projeto do curso e não consigo resolver. Tanto o meu projeto, quanto ao projeto final do curso estão dando o erro no meu local e também fazendo uma tentativa do projeto original do curso na vercel, onde tanto o local quanto na vercel dão o mesmo problema abaixo:
Já tentei atualizar as dependências, limpar cache e nada. De qualquer forma se também a vercel não está dando deploy no projeto original do curso, acredito ser algum problema de incompatibilidade da época do projeto com os pacotes atuais.
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 (C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\webpack\lib\NormalModule.js:471:10)
at C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\webpack\lib\NormalModule.js:503:5
at C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\webpack\lib\NormalModule.js:358:12
at C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
C:\Users\Cristopher\Desktop\alura-studies-main\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 (C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\webpack\lib\NormalModule.js:417:16)
at C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\webpack\lib\NormalModule.js:452:10
at C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\webpack\lib\NormalModule.js:323:13
at C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (C:\Users\Cristopher\Desktop\alura-studies-main\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at C:\Users\Cristopher\Desktop\alura-studies-main\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'
}