npm init react-app my-project
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/@typescript-eslint%2ftypes: 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! /home/mohammad/.npm/_logs/2023-03-20T18_25_20_516Z-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... package.json
Deleting my-project/ from /home/mohammad
Done.
npm ERR! code 1
npm ERR! path /home/mohammad
npm ERR! command failed
npm ERR! command sh -c create-react-app my-project
npm ERR! A complete log of this run can be found in:
npm ERR! /home/mohammad/.npm/_logs/2023-03-20T18_21_01_018Z-debug-0.log