React app rendering empty page with no error in the console

So I made this article because I have this problem for weeks and I still can’t solve it. After I install React or Vue along with npm and node for the first time it directs me to a localhost server and the app works fine. However, when I close this localhost page and open it again it shows a blank page with no errors in the console (So it basically works right after installation and never work again). I urgently need to know how can I open apps I create whether locally or on a server because I really wanna learn Vue and React but this problem is getting in my way. What should I do?