Member-only story
Apr 21, 2021
Can’t install React Boilerplate — Fix
npx create-react-app my-app
This can be a frustrating issue. Especially when we have the motivation to sit down and start a new React project!
The good news is that there’s a simple fix. Running the following commands should fix things for you.
npm init
npm install create-react-app
npx create-react-app myapp
If that doesn’t work for you, try clearing your cache.
npm cache clean --force
If neither of those work, then it may be time to reinstall Node.