Creating a new project with npm <= 5.2

January 8, 2018 ยท View on GitHub

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