Hello im taking the Full Stack Web Development for Beginners and im getting an error module not found in my replit when i try to run it

is there a way to fix this help please


Error [ERR_MODULE_NOT_FOUND]: Cannot find module ‘/home/runner/backend-website/dao/reviewsDao.js’ imported from /home/runner/backend-website/api/reviews.controller.js
at new NodeError (node:internal/errors:372:5)
at finalizeResolution (node:internal/modules/esm/resolve:437:11)
at moduleResolve (node:internal/modules/esm/resolve:1009:10)
at defaultResolve (node:internal/modules/esm/resolve:1218:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:580:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:294:18)
at ModuleWrap. (node:internal/modules/esm/module_job:80:40) {
repl process died unexpectedly: exit status 1

it says im not allowed to provide links in the comment how can i do that

was able to fix everything just had to review and fix some bugs

How did you resolve the issue? Kindly shed more light.

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