Uninstall previous version installed with npm install -g create-react-app
,
and simply use npx create-react-app [whatever you want to do with it]
Run yarn upgrade --latest react-scripts
, rebuild your app,
and everything should more-or-less work, barring any breaking changes.