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