PS C:\Users\Pc\Desktop\tuts> npx -v
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
8.11.0
PS C:\Users\Pc\Desktop\tuts> npx create-react-app react-first
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
Creating a new React app in C:\Users\Pc\Desktop\tuts\react-first.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Pc\AppData\Local\npm-cache\_logs\2022-09-09T04_07_53_986Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting react-first/ from C:\Users\Pc\Desktop\tuts
Done.
PS C:\Users\Pc\Desktop\tuts>