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里面详细的使用说明 点击查看
在mac系统下,react用create-react-app my-app(my-app是你新建项目的名字)创建项目时,出现:-bash: create-react-app: command not found
此时用npm init react-app my-app命令即可。
后面附上GitHub里面详细的使用说明 点击查看