Hi! As said in here https://github.com/backstage/backstage/issues/10093#issuecomment-1530769283 Facing similar issue while running backstage in AWS ECS/fargate
5/2/2023, 9:50:53 AM node:internal/modules/cjs/loader:936 backstage
5/2/2023, 9:50:53 AM throw err; backstage
5/2/2023, 9:50:53 AM ^ backstage
5/2/2023, 9:50:53 AM Error: Cannot find module '/app/packages/backend' backstage
5/2/2023, 9:50:53 AM at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) backstage
5/2/2023, 9:50:53 AM at Function.Module._load (node:internal/modules/cjs/loader:778:27) backstage
5/2/2023, 9:50:53 AM at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) backstage
5/2/2023, 9:50:53 AM at node:internal/main/run_main_module:17:47 { backstage
5/2/2023, 9:50:53 AM code: 'MODULE_NOT_FOUND', backstage
5/2/2023, 9:50:53 AM requireStack: [] backstage
5/2/2023, 9:50:53 AM }
the image runs perfectly fine in local, same image from registry, but unfortunately it fails in fargate and I am unable to understand why
image is created with DOCKER_BUILDKIT=1 as requested due to the --cache command of the packages/backend/Dockerfile
tried with backstage 1.13.0/1.13.2/1.14.0-next.0 all having same behavior.