今天在使用 create-react-app的时候 出现了这个问题
直接叫我卸载是什么操作???
然后去看了他给的文档
上面有这么一句话
If you’ve previously installed globally via , we recommend you uninstall the package using or to ensure that always uses the latest version.
好像是版本太老了 不推荐了
然后下面就使用了他下面推荐的写法
yarn create react-app my-app
或者
npm init react-app my-app
然后就OK啦