Error: ENOENT: no such file or directory, stat '/opt/render/project/src/views/home.html'

i have this error Error: ENOENT: no such file or directory, stat ‘/opt/render/project/src/views/home.html’ and I don’t know how to solve it, help

Hi there,

I believe this is happening because, in your apps source code, you are using the capital V in views. When running on Render, your app’s native environment is using Linux, which is case-sensitive when working files and directories. Either change the path in your code to use a capital V or make the View directory use a lowercase v.

Regards,

Keith
Render Support, UTC+10 :australia:

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