Trying to deploy mern app but says can't find build folder even though its there

I am trying to deploy my mern app this is the folder structure
SpotifyWrapped/
|-- client/
| |–build
| |-- node_modules/
| |-- public/
| |-- src/
| |-- package.json
| |-- … other files
|-- server/
|-- package.json
| |-- … server files
|-- .gitignore
|-- README.md
|-- … other files

and I keep getting this Server started
Aug 22 06:40:57 PM Your service is live :tada:
Aug 22 06:40:58 PM Serving index.html from: /opt/render/project/src/server/client/build/index.html
Aug 22 06:40:58 PM Error: ENOENT: no such file or directory, stat ‘/opt/render/project/src/server/client/build/index.html’

Hi there,

It looks like you have fixed this. The issue would have been that your service is starting from the server directory, and you needed to go up one directory to get to your client location.

Regards,

Keith
Render Support, UTC+10 :australia:

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