请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

create-react-app my-pocket出现的问题

出现的问题如下:
info There appears to be trouble with your network connection. Retrying…
error An unexpected error occurred: “https://registry.npm.taobao.org/@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-4.9.0.tgz: unexpected end of file”.
info If you think this is a bug, please open a bug report with the information provided in “/Users/mac/WebstormProjects/mypocket/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 /Users/mac/WebstormProjects/mypocket has failed.

Deleting generated file… package.json
Done.
这该怎么解决??

正在回答 回答被采纳积分+3

1回答

张轩 2020-12-03 21:58:25

同学 请使用 npx create-react-app my-pocket 命令,文档在此 https://zh-hans.reactjs.org/docs/create-a-new-react-app.html

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信