In my case, i only install react@19, react-dom@19, @types/react@19 and @types/react-dom@19
npm i react@19 react-dom@19 @types/react@19 @types/react-dom@19
and That it's.