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
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