Hrow new ERR_MODULE_NOT_FOUND(

URGENT!!

I am getting this error although its working fine in local host!

Error [ERR_MODULE_NOT_FOUND]: Cannot find module ‘/opt/render/project/src/api/models/user.model.js’ imported from /opt/render/project/src/api/controllers/user.controller.js

REPO: https://github.com/siddharthrathi1/Real_Estate_Project

Hey,

Your code might run fine on your computer but not when you try it on Render. That can happen for lots of different reasons. What kind of errors are popping up? What have you already tried to fix them? Also, did you double-check that your environment variables are correctly set up on Render?

Jérémy.
Render Support, UTC+3