Hello, I’m trying to deploy my backend but I’m getting this error
Error: Cannot find module ‘./routes/videoGamesRouter.js’
Sep 12 04:19:39 PM Require stack:
Sep 12 04:19:39 PM - /opt/render/project/src/api/src/app.js
Sep 12 04:19:39 PM - /opt/render/project/src/api/index.js
Sep 12 04:19:39 PM at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
Sep 12 04:19:39 PM at Function.Module._load (internal/modules/cjs/loader.js:841:27)
Sep 12 04:19:39 PM at Module.require (internal/modules/cjs/loader.js:1025:19)
Sep 12 04:19:39 PM at require (internal/modules/cjs/helpers.js:72:18)
Sep 12 04:19:39 PM at Object. (/opt/render/project/src/api/src/app.js:7:27)
Sep 12 04:19:39 PM at Module._compile (internal/modules/cjs/loader.js:1137:30)
Sep 12 04:19:39 PM at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10)
Sep 12 04:19:39 PM at Module.load (internal/modules/cjs/loader.js:985:32)
Sep 12 04:19:39 PM at Function.Module._load (internal/modules/cjs/loader.js:878:14)
Sep 12 04:19:39 PM at Module.require (internal/modules/cjs/loader.js:1025:19) {
Sep 12 04:19:39 PM code: ‘MODULE_NOT_FOUND’,
Sep 12 04:19:39 PM requireStack: [
Sep 12 04:19:39 PM ‘/opt/render/project/src/api/src/app.js’,
Sep 12 04:19:39 PM ‘/opt/render/project/src/api/index.js’
Sep 12 04:19:39 PM ]
Sep 12 04:19:39 PM }
My server is working correctly locally