This is a peer dependency issue. The create-react-app is try to install @testing-library/[email protected], but it doesn't support React 19. You can either use yarn/pnpm/bun or downgrade to React 18.
npm install -g yarn
yarn create react-app <your_app_name>