react创建项目遇到create-react-app: command not found

  在mac系统下,react用create-react-app my-app(my-app是你新建项目的名字)创建项目时,出现:-bash: create-react-app: command not found

  此时用npm init react-app my-app命令即可。

 后面附上GitHub里面详细的使用说明 点击查看

posted on 2019-03-27 16:39  行者yang  阅读(4403)  评论(0)    收藏  举报

导航