React v19 has an issue while installing @testing-library/react
. To temporarily resolve this dependency issue, you can set legacy-peer-deps flag to true so that it resolves the peer dependency conflicts. You can do this by running:
npm config set legacy-peer-deps true