I have an issue with running npm serve for a static react SPA. I believe it has to do with the react-router-dom from react-router.
I recently created a website with create-react-app. Since this is not a web app, why do I need a server to see it? I tried to open the index file in build folder but it doesn’t work unless I’m serving it from a server.