create-react-app, installation error (“command not found”)

后端 未结 8 1460
遇见更好的自我
遇见更好的自我 2020-12-08 07:09

I have installed create-react-app exactly as instructed on the facebook instruction page (https://facebook.github.io/react/blog/2016/07/22/create-apps-with-no-configuration.

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 07:53

    Try this. It worked or me. I found this in the React documentation. "Npx" is not a typo. It's a package runner tool that comes with npm 5.2+.

    npx create-react-app my-app

提交回复
热议问题