If you really need the lib @testing-library/react. You can install it with the command: npm i @testing-library/react.
npm i @testing-library/react
PS: The @testing-library/[email protected] requires react@"^18.0.0" and the create-react-app is using react 19