Posted 12 September 2024, 2:48 am EST
Hi Vinay,
It seems like you are creating the React application using “create-react-app” and not with Next.js or Vite frameworks with v5.0.
The ‘create-react-app’ has been deprecated by the React team, and therefore it contains older configuration, which refers to old React scripts. You can refer to the legacy react documentation for the ‘create-react-app’ here: Create a New React App
In the latest documentation from the React team, they have suggested using one of their provided frameworks, which you can check here: Start a New React Project
Using a suggested framework with React overrides the older React config and includes the latest React script, which will also fix the error.
We support NextJS and Vite with React. You can follow the steps from our documentation to create your React app here:
We hope this helps! If the issue persists at your end, please provide us with a stripped-down and runnable sample replicating the issue so that we can investigate the same at our end and get back to you accordingly.