Error: EACCES: permission denied

I just deployed in render, and my app in in nodejs uses files that I have in the root of the app.

As expected I get the error that you can see in the image, is there a way to give access to those files?

Do I have to hire another service in render to achieve this?

Hi there,

It is a little hard to answer this question without being able to look at the service with the issue. If you are sure the file exists, I would be checking there is no issues with casing of the file name. Your service runs on Linux where the filesystem is case sensitive. The case of the filename will have to match 100% other Linux will not be able to find the file.

It could also really be a permission error, so I would make sure the file has 644 permissions.


Render Support, UTC+10 :australia: