backend server failing to start on docker #2993
Unanswered
koti-buchepalli
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Any thoughts on this @liyasthomas |
Beta Was this translation helpful? Give feedback.
1 reply
-
I am facing the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Steps: Just cloned the repo and updated .env file and executed docker compose up hoppscotch-sh-admin
docker version : Docker version 20.10.23, build 7155243
Logs for backend on docker container :
[email protected] start:prod /usr/src/app
2023-04-16 07:44:35 > node dist/main
2023-04-16 07:44:35
2023-04-16 07:44:35 node:internal/modules/cjs/loader:958
2023-04-16 07:44:35 throw err;
2023-04-16 07:44:35 ^
2023-04-16 07:44:35
2023-04-16 07:44:35 Error: Cannot find module '/usr/src/app/dist/main'
2023-04-16 07:44:35 at Module._resolveFilename (node:internal/modules/cjs/loader:955:15)
2023-04-16 07:44:35 at Module._load (node:internal/modules/cjs/loader:803:27)
2023-04-16 07:44:35 at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
2023-04-16 07:44:35 at node:internal/main/run_main_module:18:47 {
2023-04-16 07:44:35 code: 'MODULE_NOT_FOUND',
2023-04-16 07:44:35 requireStack: []
2023-04-16 07:44:35 }
2023-04-16 07:44:35
2023-04-16 07:44:35 Node.js v18.8.0
2023-04-16 07:44:35 ELIFECYCLE Command failed with exit code 1.
I tried to execute on my local machine as well but there were different errors so I thought I would use docker to keep it simple , Any thoughts ?
Beta Was this translation helpful? Give feedback.
All reactions