Error while creating new React app (“You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0)”)

Try running npx clear-npx-cache to clear your npx cache and then running the npx create-react-app your-app command. Also have a look at this answer on clearing the cache. Additionally, it might be worth trying to force the latest version with: npx create-react-app@latest my-app –use-npm

npx command not found

npx should come with npm 5.2+, and you have node 5.6 .. I found that when I install node using nvm for Windows, it doesn’t download npx. so just install npx globally: npm i -g npx In Linux or Mac OS, if you found any permission related errors use sudo before it. sudo npm i … Read more