/home/ubuntu/AWS-Session/server.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object. (/home/ubuntu/AWS-Session/server.js:1:17)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/home/ubuntu/AWS-Session/server.js' ]
}
ubuntu@ip-172-31-47-107:~/AWS-Session$ npm run start
node:internal/modules/cjs/loader:1137 throw err; ^
Error: Cannot find module 'express' Require stack:
Node.js v18.19.1