PS C:\Users\HP\Desktop> npx create-react-app enda_react
Creating a new React app in C:\Users\HP\Desktop\enda_react.
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! errno ERR_SOCKET_TIMEOUT npm ERR! request to https://registry.npmjs.org/bfj failed, reason: Socket timeout
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\HP\AppData\Local\npm-cache_logs\2021-03-10T03_17_13_731Z-debug.log
Aborting installation. npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json Deleting enda_react/ from C:\Users\HP\Desktop Done.
i tried different methods such as
- increase timeout,
-upadate npm versions,
-unistalled previeous create app and installed new one,
-cleared cache,
all these methods doesnt worked for me,someone please help