Open ingdany opened 2 years ago
Haven't touched this project in a while, sorry.
On Thu, 3 Nov 2022, 22:14 Daniel Pérez, @.***> wrote:
I am trying to run ahem through docker, the ahem-ssr-1 container is returning this kind of error, does anyone have an idea what I can do to solve it?
ad-hoc-email-server-ahem-ssr-1 | internal/modules/cjs/loader.js:965 ad-hoc-email-server-ahem-ssr-1 | throw err; ad-hoc-email-server-ahem-ssr-1 | ^ ad-hoc-email-server-ahem-ssr-1 | ad-hoc-email-server-ahem-ssr-1 | Error: Cannot find module '/app/dist' ad-hoc-email-server-ahem-ssr-1 | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:962:15) ad-hoc-email-server-ahem-ssr-1 | at Function.Module._load (internal/modules/cjs/loader.js:838:27) ad-hoc-email-server-ahem-ssr-1 | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
— Reply to this email directly, view it on GitHub https://github.com/o4oren/Ad-Hoc-Email-Server/issues/78, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTF65RYRYT2OSWZJNCWUVDWGQMLTANCNFSM6AAAAAARWQNLYE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Have you found a solution meanwhile ? @ingdany
I am having the same issue
I need to look iblnto this. It was built with old libraries, i suspect ng/node broke backwards compatibility.
On Wed, 4 Jan 2023, 18:43 maxime-guerin-biprep, @.***> wrote:
I am having the same issue
— Reply to this email directly, view it on GitHub https://github.com/o4oren/Ad-Hoc-Email-Server/issues/78#issuecomment-1371166134, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTF65WOJHU6QIZFR3LQJMLWQWSEZANCNFSM6AAAAAARWQNLYE . You are receiving this because you commented.Message ID: @.***>
starting with node dist/universalServer inside the docker works
Because its already built in the docker... I'll find time to fix it and update the packages to whatever isnused now. I haven't used angular since 2017...
On Thu, 5 Jan 2023, 11:17 maxime-guerin-biprep, @.***> wrote:
starting with node dist/universalServer inside the docker works
— Reply to this email directly, view it on GitHub https://github.com/o4oren/Ad-Hoc-Email-Server/issues/78#issuecomment-1371964591, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTF65X2CSYTWQI25DIA3ZLWQ2GSXANCNFSM6AAAAAARWQNLYE . You are receiving this because you commented.Message ID: @.***>
in the mean time i change the command of ahem-ssr in the docker-compoose.yml file with that : ` ahem-ssr: image: o4oren/ahem:latest restart: always ports:
in the mean time i change the command of ahem-ssr in the docker-compoose.yml file with that :
ahem-ssr: image: o4oren/ahem:latest restart: always ports: - "4000:4000" command: ["bash","-c","node dist/universalServer"]
Yeah, that worked. Thx.
I am trying to run ahem through docker, the ahem-ssr-1 container is returning this kind of error, does anyone have an idea what I can do to solve it?