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

前端 未结 22 1847
孤城傲影
孤城傲影 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:39

    For me just create-react-app project-name worked after adding path C:\Users\user\AppData\Roaming\npm\node_modules to my environment variables.

提交回复
热议问题