deno run --allow-env --allow-net --allow-read src/main.ts
NestJS won't start
[Nest] 13408 - 10/20/2024, 3:06:53 PM ERROR [ExceptionHandler] Nest can't resolve dependencies of the TypeOrmHealthIndicator (?). Please make sure that the argument ModuleRef at index [0] is available in the TerminusModule context.
Potential solutions:
- Is TerminusModule a valid NestJS module?
- If ModuleRef is a provider, is it part of the current TerminusModule?
- If ModuleRef is exported from a separate @Module, is that module imported within TerminusModule?
@Module({
imports: [ /* the Module containing ModuleRef */ ]
})
Problem
./src/app.module.ts
How To Reproduce
NestJS won't start
Expected Result
Additional Context