create-react-app my-pocket出现的问题
来源:2-2 文件代码结构
bluewind1230
2020-12-02
出现的问题如下:
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.
这该怎么解决??
1回答
-
张轩
2020-12-03
同学 请使用 npx create-react-app my-pocket 命令,文档在此 https://zh-hans.reactjs.org/docs/create-a-new-react-app.html
00
相似问题
回答 1
回答 1