'create-react-app' is not recognized as an internal or external command

前端 未结 22 1535
孤城傲影
孤城傲影 2020-12-24 11:51

I am trying to set up react app using create-react-app command on windows pc. I already used it on my mac computer, and it works well. But I encounter a problem. Here my ste

22条回答
  •  时光说笑
    2020-12-24 12:49

    I also get same problem but I resolve it by following steps

    1. Check your global directory by using command npm root -g
    2. check the folder, will it have .cmd of your installed packages.
    3. If yes, Please copy the path of folder and put in path of user variables.

    Thanks

提交回复
热议问题