I am facing a very weird problem. So, I deploy the website without any problem. All of the routes work fine. But on one of the pages, when I press the refresh button, the site crashes and it gives the error that is in the screenshot. I don’t have this issue on any other page.
I saw that this was discussed in the forum, but they were seeing the error from the get-go.
I see this error only when I refresh one of the pages only. Other pages work fine when I refresh.
The only thing I can see that is different is that when the link to a profile is clicked, there is a POST request to https://eb2mpznt2lst.usemoralis.com:2053/server/functions/theUsers and when the page is refreshed, there is no POST request.
I notice that the URL of the manifest from that page is https://bitbeat.netlify.app/item/manifest.json but it actually lives at https://bitbeat.netlify.app/manifest.json, so it looks like you might be missing a leading slash in your page template to make links to the manifest file root-relative.
… @philhawksworth
Do you mean the manifest file inside the public folder or build, since the build folder is the one that we upload? And what line should I add inside that manifest file?
I don’t know if this piece of information matters but at some point in the development phase, I’ve added "homepage": "." on the fourth line of my package.json file. And the "start_url" in my manifest.json is set to ".".