How to make create-react-app use npm instead of yarn?
- Install create-react-app
npm i -g create-react-app --use-npm
- Go to desired path using cd command
- Add --use-npm
create-react-app my-app-name --use-npm
This command will create a folder with the name that you mentioned inside your current path . This folder consists all necessary configuration files needed for a starter code for react application