【发布时间】:2023-04-07 01:35:01
【问题描述】:
你好公众我在创建反应应用程序时遇到错误不知道发生了什么问题请尝试修复我的错误
还告诉我该怎么办?
注意 :: 我的互联网连接良好
我更新的最新节点和其他包https://ibb.co/tmyyB4M
F:\React JS>npx create-react-app project
Creating a new React app in F:\React JS\project.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
yarn add v1.22.10
info There appears to be trouble with your network connection. Retrying...
[1/4] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/react: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80".
info If you think this is a bug, please open a bug report with the information provided in "F:\\React JS\\project\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Aborting installation.
yarnpkg add --exact react react-dom react-scripts cra-template --cwd F:\React JS\project has failed.
Deleting generated file... package.json
Deleting generated file... yarn.lock
Done.
【问题讨论】: