`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
}
]
[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
}
]
3 Replies
charles
charles6mo ago
Hi @JarWarren, what version are you running? have you made modifications?
JarWarren
JarWarrenOP6mo ago
@charles Oh, I was on latest. I'm not sure what the issue ended up being but I nuked everything and reran it without issues. Thanks!
charles
charles6mo ago
great!
Want results from more Discord servers?
Add your server