问答详情
源自:1-2 配置开发环境(1)

在成功安装 create-react-app 之后出现 command not found

~ ᐅ npm install -g create-react-app

/usr/local/bin/create-react-app -> /usr/local/lib/node_modules/create-react-app/index.js

+ create-react-app@2.0.4

updated 1 package in 3.676s


~ ᐅ creat-react-app my-project          

zsh: command not found: creat-react-app


提问者:精慕门3114324 2018-10-29 23:52

个回答

  • 张轩
    2018-10-30 09:44:54

    creat-react-app 拼写错误

  • Kivdy
    2020-05-17 22:50:36

    zsh 变量问题。可以使用 npx create-react-app my-project 进行安装

  • weixin_慕莱坞5159410
    2020-01-09 17:48:06

    http://img4.mukewang.com/5e16f6b90001e27b11400730.jpg张老师 请问这是我哪里做错了吗?


  • cmy11
    2018-10-30 08:18:55

    重新打开终端试试。