If you use npm 5.1 or earlier, you can't use npx.
Instead, install create-react-app globally:
npm install -g create-react-appNow you can run:
create-react-app my-app
| <script src="https://gist.github.com/tamlylyi/dc4aaa8ba1971635a320f1bee48c2673.js"></script> | |
| @tamlylyi |
If you use npm 5.1 or earlier, you can't use npx.
Instead, install create-react-app globally:
npm install -g create-react-appNow you can run:
create-react-app my-app
<script src = "https://gist.github.com/tamlylyi/dc4aaa8ba1971635a320f1bee48c2673.js">