I am new to React.js and got a setup of react application through:
npx create-next-app@latest projectname
After taking some minutes, setup completed with error:
I tried to research this error but didn't found a solution.
I tried to set up a React application and was expecting it to run smoothly as per documentation provided on https://react.dev/learn/start-a-new-react-project
In package.json:
React version is 19.0.0
Next.js version is 15.1.2
Below is the code of src\app\page.js :
<div className="demo"> Hello world </div>
