We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to run this on an almost fresh EC2 instance: Getting error: Error: Cannot find module 'mongoose'
[ec2-user@ip-172-31-9xxxxxxxxxxx 4-140 docker-node-express-boilerplate]$ docker-compose up [+] Running 3/3 ⠿ Container docker-node-express-boilerplate-mongodb-1 Recreated 0.1s ⠿ Container docker-node-express-boilerplate-app-1 Recreated 0.0s ⠿ Container docker-node-express-boilerplate-nginx-1 Recreated 0.0s Attaching to docker-node-express-boilerplate-app-1, docker-node-express-boilerplate-mongodb-1, docker-node-express-boilerplate-nginx-1 docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.914+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.928+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.935+00:00"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"7fa1ead9d930"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.935+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.16","gitVersion":"a7bceadbac919a2c035f2874c61d138fd75d6a6f","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"W", "c":"STORAGE", "id":22271, "ctx":"initandlisten","msg":"Detected unclean shutdown - Lock file is not empty","attr":{"lockFile":"/data/db/mongod.lock"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"W", "c":"STORAGE", "id":22302, "ctx":"initandlisten","msg":"Recovering data from the last clean checkpoint."} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=256M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:16.407+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519396:407040][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 1 through 2"}} docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh docker-node-express-boilerplate-nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf docker-node-express-boilerplate-nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up docker-node-express-boilerplate-nginx-1 | 2022/09/18 16:43:16 [alert] 31#31: setrlimit(RLIMIT_NOFILE, 100000) failed (1: Operation not permitted) docker-node-express-boilerplate-nginx-1 | 2022/09/18 16:43:16 [alert] 32#32: setrlimit(RLIMIT_NOFILE, 100000) failed (1: Operation not permitted) docker-node-express-boilerplate-nginx-1 | 2022/09/18 16:43:16 [alert] 33#33: setrlimit(RLIMIT_NOFILE, 100000) failed (1: Operation not permitted) docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:16.833+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519396:833901][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 2 through 2"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.190+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:190852][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 1/57728 to 2/256"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.193+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:193439][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 1 through 2"}} docker-node-express-boilerplate-app-1 | =============================================================================== docker-node-express-boilerplate-app-1 | --- PM2 development mode ------------------------------------------------------ docker-node-express-boilerplate-app-1 | Apps started : server docker-node-express-boilerplate-app-1 | Processes started : 1 docker-node-express-boilerplate-app-1 | Watch and Restart : Enabled docker-node-express-boilerplate-app-1 | Ignored folder : node_modules docker-node-express-boilerplate-app-1 | =============================================================================== docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.453+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:453856][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 2 through 2"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.637+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:637478][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.638+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:638320][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.720+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:720793][1:0x7ffabc986cc0], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 3, snapshot max: 3 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 161"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.734+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":4798}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.735+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.738+00:00"},"s":"I", "c":"STORAGE", "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.752+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.756+00:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.757+00:00"},"s":"W", "c":"CONTROL", "id":22184, "ctx":"initandlisten","msg":"Soft rlimits too low","attr":{"currentValue":32768,"recommendedMinimum":64000},"tags":["startupWarnings"]} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.770+00:00"},"s":"I", "c":"STORAGE", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.785+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.786+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.792+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.798+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.798+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:18.090+00:00"},"s":"I", "c":"FTDC", "id":20631, "ctx":"ftdc","msg":"Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost","attr":{"error":{"code":0,"codeName":"OK"}}} docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } ^CGracefully stopping... (press Ctrl+C again to force) [+] Running 3/3 ⠿ Container docker-node-express-boilerplate-nginx-1 Stopped 0.4s ⠿ Container docker-node-express-boilerplate-app-1 Stopped 10.2s ⠿ Container docker-node-express-boilerplate-mongodb-1 Stopped 0.2s canceled [ec2-user@ip-172-xxxxxxxxxxx docker-node-express-boilerplate]$ ^C
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to run this on an almost fresh EC2 instance:
Getting error: Error: Cannot find module 'mongoose'
[ec2-user@ip-172-31-9xxxxxxxxxxx 4-140 docker-node-express-boilerplate]$ docker-compose up [+] Running 3/3 ⠿ Container docker-node-express-boilerplate-mongodb-1 Recreated 0.1s ⠿ Container docker-node-express-boilerplate-app-1 Recreated 0.0s ⠿ Container docker-node-express-boilerplate-nginx-1 Recreated 0.0s Attaching to docker-node-express-boilerplate-app-1, docker-node-express-boilerplate-mongodb-1, docker-node-express-boilerplate-nginx-1 docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.914+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.928+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.935+00:00"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"7fa1ead9d930"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.935+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.16","gitVersion":"a7bceadbac919a2c035f2874c61d138fd75d6a6f","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"W", "c":"STORAGE", "id":22271, "ctx":"initandlisten","msg":"Detected unclean shutdown - Lock file is not empty","attr":{"lockFile":"/data/db/mongod.lock"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"W", "c":"STORAGE", "id":22302, "ctx":"initandlisten","msg":"Recovering data from the last clean checkpoint."} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:12.936+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=256M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:16.407+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519396:407040][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 1 through 2"}} docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh docker-node-express-boilerplate-nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf docker-node-express-boilerplate-nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh docker-node-express-boilerplate-nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up docker-node-express-boilerplate-nginx-1 | 2022/09/18 16:43:16 [alert] 31#31: setrlimit(RLIMIT_NOFILE, 100000) failed (1: Operation not permitted) docker-node-express-boilerplate-nginx-1 | 2022/09/18 16:43:16 [alert] 32#32: setrlimit(RLIMIT_NOFILE, 100000) failed (1: Operation not permitted) docker-node-express-boilerplate-nginx-1 | 2022/09/18 16:43:16 [alert] 33#33: setrlimit(RLIMIT_NOFILE, 100000) failed (1: Operation not permitted) docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:16.833+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519396:833901][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 2 through 2"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.190+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:190852][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 1/57728 to 2/256"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.193+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:193439][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 1 through 2"}} docker-node-express-boilerplate-app-1 | =============================================================================== docker-node-express-boilerplate-app-1 | --- PM2 development mode ------------------------------------------------------ docker-node-express-boilerplate-app-1 | Apps started : server docker-node-express-boilerplate-app-1 | Processes started : 1 docker-node-express-boilerplate-app-1 | Watch and Restart : Enabled docker-node-express-boilerplate-app-1 | Ignored folder : node_modules docker-node-express-boilerplate-app-1 | =============================================================================== docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.453+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:453856][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 2 through 2"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.637+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:637478][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.638+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:638320][1:0x7ffabc986cc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.720+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1663519397:720793][1:0x7ffabc986cc0], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 3, snapshot max: 3 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 161"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.734+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":4798}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.735+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.738+00:00"},"s":"I", "c":"STORAGE", "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.752+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.756+00:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.757+00:00"},"s":"W", "c":"CONTROL", "id":22184, "ctx":"initandlisten","msg":"Soft rlimits too low","attr":{"currentValue":32768,"recommendedMinimum":64000},"tags":["startupWarnings"]} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.770+00:00"},"s":"I", "c":"STORAGE", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.785+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.786+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.792+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.798+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:17.798+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}} docker-node-express-boilerplate-mongodb-1 | {"t":{"$date":"2022-09-18T16:43:18.090+00:00"},"s":"I", "c":"FTDC", "id":20631, "ctx":"ftdc","msg":"Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost","attr":{"error":{"code":0,"codeName":"OK"}}} docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } docker-node-express-boilerplate-app-1 | [rundev] App server restarted docker-node-express-boilerplate-app-1 | server-0 | Error: Cannot find module 'mongoose' docker-node-express-boilerplate-app-1 | server-0 | Require stack: docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/config.js docker-node-express-boilerplate-app-1 | server-0 | - /usr/src/app/app/server.js docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25) docker-node-express-boilerplate-app-1 | server-0 | at require (node:internal/modules/cjs/helpers:102:18) docker-node-express-boilerplate-app-1 | server-0 | at Object.<anonymous> (/usr/src/app/app/config.js:1:18) docker-node-express-boilerplate-app-1 | server-0 | at Module._compile (node:internal/modules/cjs/loader:1126:14) docker-node-express-boilerplate-app-1 | server-0 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) docker-node-express-boilerplate-app-1 | server-0 | at Module.load (node:internal/modules/cjs/loader:1004:32) docker-node-express-boilerplate-app-1 | server-0 | at Function.Module._load (node:internal/modules/cjs/loader:839:12) docker-node-express-boilerplate-app-1 | server-0 | at Module.require (node:internal/modules/cjs/loader:1028:19) docker-node-express-boilerplate-app-1 | server-0 | at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39) { docker-node-express-boilerplate-app-1 | server-0 | code: 'MODULE_NOT_FOUND', docker-node-express-boilerplate-app-1 | server-0 | requireStack: [ '/usr/src/app/app/config.js', '/usr/src/app/app/server.js' ] docker-node-express-boilerplate-app-1 | server-0 | } ^CGracefully stopping... (press Ctrl+C again to force) [+] Running 3/3 ⠿ Container docker-node-express-boilerplate-nginx-1 Stopped 0.4s ⠿ Container docker-node-express-boilerplate-app-1 Stopped 10.2s ⠿ Container docker-node-express-boilerplate-mongodb-1 Stopped 0.2s canceled [ec2-user@ip-172-xxxxxxxxxxx docker-node-express-boilerplate]$ ^C
The text was updated successfully, but these errors were encountered: