TwentyT
Twenty2y ago
3 replies
JarWarren

`yarn command:prod` fails even though `npx nx start` succeeds

The very last successful log is "AuthModule dependencies initialized".

Normally, the next log should be "HealthController {/healthz}:". So it's either failing on the AuthModule or the HealthController. My guess is that it's failing to ping "/healthz" but I'm not sure how to debug. Any help is greatly appreciated.


[Nest] 54967  - 06/08/2024, 3:47:08 PM     LOG [InstanceLoader] UserModule dependencies initialized
[Nest] 54967  - 06/08/2024, 3:47:08 PM     LOG [InstanceLoader] AuthModule dependencies initialized

[Nest] 54967  - 06/08/2024, 3:47:08 PM   ERROR [CommanderError] (outputHelp)
Exception Captured
  undefined
  [
    CommanderError: (outputHelp)
        at Command._exit (/home/funnelmink/crm/node_modules/commander/lib/command.js:461:26)
        at Command.help (/home/funnelmink/crm/node_modules/commander/lib/command.js:2079:10)
        at Command._parseCommand (/home/funnelmink/crm/node_modules/commander/lib/command.js:1275:12)
        at Command.parseAsync (/home/funnelmink/crm/node_modules/commander/lib/command.js:936:16)
        at CommandRunnerService.run (/home/funnelmink/crm/node_modules/nest-commander/src/command-runner.service.js:197:14)
        at CommandFactory.runApplication (/home/funnelmink/crm/node_modules/nest-commander/src/command.factory.js:37:22)
        at bootstrap (/home/funnelmink/crm/packages/twenty-server/dist/src/command/command.js:29:41)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
      code: 'commander.help',
      exitCode: 1,
      nestedError: undefined
    }
  ]
Was this page helpful?