I setup my electron project by doing the steps at https://www.electronforge.io/guides/framework-integration/react
if i npm start my project like in the first picture that i uploaded no error occurs and program works just fine but if i uncomment the <App/> part it will throw errors at the second picture. The same problem continues with any other jsx file that i try to use at my index.jsx file
lastly i uploaded my app.jsx file you can see it at the third picture