Im trying to deploy the express-hello-world example app from Deploy a Node Express App | Render Docs
but getting the following error during deployment:
Feb 22 09:39:22 PM ==> Starting service with ‘node app.js’
Feb 22 09:39:23 PM node:internal/modules/cjs/loader:936
Feb 22 09:39:23 PM throw err;
Feb 22 09:39:23 PM ^
Feb 22 09:39:23 PM
Feb 22 09:39:23 PM Error: Cannot find module ‘/opt/render/project/src/app.js’ at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 {
Feb 22 09:39:23 PM code: ‘MODULE_NOT_FOUND’,
Feb 22 09:39:23 PM requireStack:
Feb 22 09:39:23 PM }
Feb 22 09:39:23 PM
Feb 22 09:39:23 PM Node.js v17.5.0
What am I doing wrong? Im using the exact variables as specified.