【发布时间】:2022-08-19 04:11:59
【问题描述】:
我一直在尝试使用 Hyper 终端在本地系统上运行 React
我输入了代码:npx create-react-app my-apps
它不断在下面标记这些错误:
npm ERR! code ETIMEDOUT
npm ERR! syscall connect
npm ERR! errno ETIMEDOUT
npm ERR! network request to http://registry.npmjs.org/@svgr%2fplugin-svgo failed, reason: connect ETIMEDOUT 104.16.26.35:80
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\\Edmund Obinna\\AppData\\Local\\npm-cache\\_logs\\2022-02-21T12_17_44_191Z-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-apps/ from C:\\Users\\Edmund Obinna
Done.\"
-
请更改标题,以便将来的读者更有可能通过网络搜索找到它
标签: javascript reactjs