Ao criar o projeto usando o comando: npx react-native init orgsHooks --version 0.65.1
apresenta o seguinte erro ao usar o comando: npx react-native start
Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at stableHash (C:\Users\Daniel Florentino\Documents\Desenvolvimento de Software\Visual Studio\Alura\Formacao-em-react-native\orgsHooks1\node_modules\metro-cache\src\stableHash.js:19:8) at Object.getCacheKey (C:\Users\Daniel Florentino\Documents\Desenvolvimento de Software\Visual Studio\Alura\Formacao-em-react-native\orgsHooks1\node_modules\metro-transform-worker\src\index.js:593:7) at getTransformCacheKey (C:\Users\Daniel Florentino\Documents\Desenvolvimento de Software\Visual Studio\Alura\Formacao-em-react-native\orgsHooks1\node_modules\metro\src\DeltaBundler\getTransformCacheKey.js:24:19) at new Transformer (C:\Users\Daniel Florentino\Documents\Desenvolvimento de Software\Visual Studio\Alura\Formacao-em-react-native\orgsHooks1\node_modules\metro\src\DeltaBundler\Transformer.js:48:9) at C:\Users\Daniel Florentino\Documents\Desenvolvimento de Software\Visual Studio\Alura\Formacao-em-react-native\orgsHooks1\node_modules\metro\src\Bundler.js:22:29 at runNextTicks (node:internal/process/task_queues:60:5) at process.processTimers (node:internal/timers:509:9) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }
Fiz o downgrade da versão do NODE e ainda assim o erro persiste, mas funcionando perfeitamente se criar o projeto sem o --version 0.65.1