Installing react, react-dom, and react-scripts with cra-template code example
Example: 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}