首先全局安裝create-react-app
npm install -g create-react-app
然後
create-react-app react-cli-demo
可能會報錯
解決辦法,修改環境變量
然後在執行
create-react-app react-cli-demo
npm install -g create-react-app
create-react-app react-cli-demo
create-react-app react-cli-demo
https://github.com/ddean2009/blog-auto-publishing-tools
一. 二. 三. ! 作 者 : Yaopengfei(姚鵬飛) 博客地址 : http://www.cnblogs.com
ERROR Failed to compile with 1 error