CRA has been deprecated for awhile. Like what @MenTalist mentioned, this likely caused an incompatible build while trying to install the latest react@19
Would definitely recommend spending a bit of time to read up the Official Documentations here: https://react.dev/learn/creating-a-react-app
And only use the tools listed!