Deployement erro


This is my package.json and the render field but when I am deploying my code this error is coming
" Jul 31 12:28:51 AM Error: Cannot find module ‘/opt/render/project/src/index.js’
Jul 31 12:28:51 AM at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
Jul 31 12:28:51 AM at Function.Module._load (internal/modules/cjs/loader.js:730:27)
Jul 31 12:28:51 AM at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
Jul 31 12:28:51 AM at internal/main/run_main_module.js:17:47 {
Jul 31 12:28:51 AM code: ‘MODULE_NOT_FOUND’,
Jul 31 12:28:51 AM requireStack:
Jul 31 12:28:51 AM } "
even I tried changing it to nodemon index.js but error remains the same please help!

Hi,

I’ve replied to ticket you also opened. Let’s keep the conversation in one place (on the ticket), you can update this post when you get to the solution.

Alan

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