For a React project, I installed Sanity under the schema folder and then I started adding different JS files into it, but even though there is no code in them, I get the error in the header for each js file.
I also tried
npm install --save-dev @babel/preset-react
but it didn't work.
I started to watch Clever Programmer's Uniswap video but I cannot move forward with the error.