I tried installing reactjs on my windows laptop using create-react-app through the cmd. I have node installed. it was installing but got to some point and stopped. I don't know much about proper proxy config setup. The attached image contains the error I got. I will be glad to get helped. screenshot of the error cropped screenshot of the error
I tried installing react-app and I was expecting it to install successfully as node did but it failed.
CodePudding user response:
First, check your internet connection. This happens even when the internet connection speed is not enough. Try another speed connection. This has also happened to me because of a problem with the internet connection.
Check whether you've turned on proxies or try creating a react project using Vite instead of create react app.
CodePudding user response:
try changing the timeout for npm.
npm config set fetch-retry-mintimeout 20000
npm config set fetch-retry-maxtimeout 120000