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

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

    This is the issue is mainly caused by two reasons:

    1. Path variable issue
    2. Npm version issue

    Add C:\Users\ugur\AppData\Roaming\npm to Windows PATH variable and upgrade npm version to 5.5.1

提交回复
热议问题