Bonjour,
Il y a quelque temps j'ai été obligé de changer de version nvm puis node à plusieurs reprises pour résoudre des problèmes liés à ce fil

Je pensais avoir résolu mes problèmes mais beaucoup de choses ne fonctionnent pas normalement.
Je vous donne un exemple et j'aimerais que vous me disiez ce que vous en pensez:
Je clone ce repot git
puis je vais dans le dossier.
Puis je fais npm install.
voici ce qui s'affiche:

h-2022> npm install
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar
3 with 15x less dependencies.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar
3 with 15x less dependencies.
npm WARN deprecated rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may
use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
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:133:10)
at module.exports (C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\node_modules\webpack\lib\NormalModule.js:471:10)
at C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\node_modules\webpack\lib\NormalModule.js:503:5
at C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\node_modules\webpack\lib\NormalModule.js:358:12
at C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\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/brow...-data-updating
C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\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:133:10)
at module.exports (C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised au at C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\node_modules\webpack\lib\NormalModule.js:452:10
at C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-20e_modules\webpack\lib\NormalModule.js:323:13
at C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-20e_modules\loader-runner\lib\LoaderRunner.js:367:11
at C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-20e_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firirebase-auth-2022\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022\nonode_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'
}

Node.js v18.5.0
PS C:\Users\haddo\Documents\CODEUR\lab\Tuto code finised authentification\react-firebase-auth-2022>
d'où vient le problème ?
Qu'est-ce que je devrais faire ?