If you use npm 5.1 or earlier, you can't use npx.
Instead, install create-next-app globally:
npm install -g create-next-appNow you can run:
create-next-app
If you use npm 5.1 or earlier, you can't use npx.
Instead, install create-next-app globally:
npm install -g create-next-appNow you can run:
create-next-app
Run it