Netlify can not find updload folder in the root directory

I am trying to upload images using multer on express-js server. It works find in the local host. However, when I push the code for deployment, upon uploading image it return status 500. When use postman it return this Error: ENOENT: no such file or directory, open 'useruploads/2022-05-30T12:59:15.011ZMohammadamin-resume.png&#39

I don’t know if anyone can help

Hi there, glad you found us :wave: before we can help you, we need a little more information on the issues you are facing.

First, have you looked through this resource? It is a compilation of all of our build and deploy resources. This is a good starting point.

If you have worked through those guides and are still encountering issues please share the following information:

  • the name of your build instance: “example-jones.netlify.com
  • a full copy of your recent deploy log
  • any error messages you have received in your terminal window or in the developer console (looks like you shared one above, are you receiving this message consistently?)

Thanks!