how to add a template inside create react app tempolate code example
Example 1: create react app not creating template
if react is installed globally, run this:
npm uninstall -g create-react-app
then run this:
npx create-react-app {directory name}
Example 2: create-react-app template
npx create-react-app my-app --template typescript