Website is live but get 404 not found blank Page

The page is live but when I open it it says 404 not found and it is a blank page. I get this error in the tails
Error: ENOENT: no such file or directory, stat ‘/opt/render/project/src/client/dist/index.html’
this is my package.json
{
“name”: “codechronicles”,
“version”: “1.0.0”,
“description”: “This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.”,
“main”: “server/server.js”,
“scripts”: {
“start”: “node server/server.js”,
“develop”: “concurrently "cd server && npm run watch" "cd client && npm run dev"”,
“install”: “cd server && npm i && cd …/client && npm i --production=false”,
“seed”: “cd server && npm run seed”,
“build”: “cd client && npm run build”,
“render-build”: “npm install && npm run build”
},
“keywords”: ,
“author”: “”,
“license”: “ISC”,
“devDependencies”: {
“concurrently”: “^5.1.0”
},
“dependencies”: {
“jwt-decode”: “^4.0.0”
}
}

Hi,

I’ve replied to the ticket you also opened. Let’s keep the conversation in one place (on the ticket). Then you can update this post when we get to the solution.

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.