create react app using specific version yarn code example
Example 1: create react app with npm not yarn
npx create-react-app my-app --use-npm
Example 2: yarn create react app
// Go into the folder where you wish to create your app
yarn create react-app appname