I am facing this issue please help me

Error: Cannot find module ‘/opt/render/project/src/server.js’

May 27 02:31:48 AM at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)

May 27 02:31:48 AM at Module._load (node:internal/modules/cjs/loader:984:27)

May 27 02:31:48 AM at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)

May 27 02:31:48 AM at node:internal/main/run_main_module:28:49 {

May 27 02:31:48 AM code: ‘MODULE_NOT_FOUND’,

May 27 02:31:48 AM requireStack:

May 27 02:31:48 AM}

Hi,

The error shows server.js cannot be found in the root of your repo.

Render uses Linux with a case-sensitive filesystem. Check that filename matches exactly as shown in your git repo.

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