小编Flo*_*vet的帖子

为什么yarn create react-app命令不起作用

所以我尝试用yarn创建一个react项目,这样我就可以使用Elastic UI,但不幸的是我的终端在使用命令后出现错误

\n
yarn create react-app my-app\n
Run Code Online (Sandbox Code Playgroud)\n

错误

\n
\xe2\x9e\xa4 YN0000: \xe2\x94\x8c Resolution step\n\xe2\x9e\xa4 YN0061: \xe2\x94\x82 tar@npm:2.2.2 is deprecated: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.\n\xe2\x9e\xa4 YN0000: \xe2\x94\x94 Completed in 5s 215ms\n\xe2\x9e\xa4 YN0000: \xe2\x94\x8c Fetch step\n\xe2\x9e\xa4 YN0000: \xe2\x94\x94 Completed\n\xe2\x9e\xa4 YN0000: \xe2\x94\x8c Link step\n\xe2\x9e\xa4 YN0000: \xe2\x94\x94 Completed\n\xe2\x9e\xa4 YN0000: Done with warnings in 5s 507ms\n\n\nCreating a new React app in /home/flovet-stack/Documents/my-app.\n\nInstalling packages. This might take a couple of minutes.\nInstalling react, react-dom, …
Run Code Online (Sandbox Code Playgroud)

reactjs create-react-app yarnpkg

2
推荐指数
1
解决办法
4435
查看次数

标签 统计

create-react-app ×1

reactjs ×1

yarnpkg ×1