Attached is a screenshot of the error message as well as my directory tree. The App.js file appears to be correctly included in the src folder, so I’m not sure what is causing the problem? In my settings, I haven’t specified a default Root directory.
Any ideas on what may be causing the problem and how to fix?
I can confirm that you don’t have any Render-related setting like the root directory that would be causing that additional src directory. Can you see if there might be something configured in your package.json that could be causing this?
Additionally, I understand that you’ve set this up as a static site, but I also see your publish directory specified as react-app-rewired start, which seems more like an application start command, where we would generally expect a directory here. I’m wondering if you are instead intending to run this as a web service?
I took a look at my package.json, but didn’t see what could be creating the issue (I’ve attached screen shots below just in case). In addition, I’ve created a webservice to host the files and deployed it from there. However, same issue as before.