Facing 8 moderate severity vulnerabilities issue with React

I installed a react app, but after that it’s showing me this: 8 moderate severity vulnerabilities
When I run npm audit fix --force, it shows :

npm WARN using --force Recommended protections disabled.
npm WARN audit Updating react-scripts to 3.0.1,which is a SemVer major change.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer 
supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer 
supported or maintained
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map- 
resolve#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. 
Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: flatten is deprecated in favor of utility frameworks such 
as lodash.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: request-promise-native has been deprecated 
because it extends the now deprecated request package, see 
https://github.com/request/request/issues/3142
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersZASAppDataLocalnpm-cache_logs2022-02-02T09_40_50_014Z-debug.log

And when I click on C:UsersZASAppDataLocalnpm-cache_logs2022-02-02T09_40_50_014Z-debug.log the file contains:

8094 verbose stack TypeError: Cannot read properties of undefined (reading 'isServer')
8094 verbose stack     at TLSWrap.onerror (node:_tls_wrap:411:27)
8095 verbose cwd C:UsersZASDesktopWebReact Startreact-deploytest-deploy
8096 verbose Windows_NT 10.0.19042
8097 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program 
Files\nodejs\node_modules\npm\bin\npm-cli.js" "audit" "fix" "--force"
8098 verbose node v16.13.2
8099 verbose npm  v8.1.2
8100 error Cannot read properties of undefined (reading 'isServer')
8101 verbose exit 1

I’ve recently re-installed Node.js because I was facing a lot of issues with it. I’m new to node and react so don’t know why these errors are occuring. Previously, when I installed react for the first time, I did faced these vulnerabilities but I ignored it at the time. I think that’s why I faced other issues before.

So, How do I fix these?