react脚手架安装初始化报错怎么解决?


PS E:\资料\html\html\reacrt-basic> npx create-react-app my-app

Creating a new React app in E:\资料\html\html\reacrt-basic\my-app.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code ECONNRESET
npm ERR! syscall read
npm ERR! errno -4077
npm ERR! network read ECONNRESET
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\23110\AppData\Local\npm-cache\_logs\2021-09-21T02_23_23_080Z-debug.log      

Aborting installation.
  npm install --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