#My NestJS app does not start anymore

7 messages · Page 1 of 1 (latest)

wise raven
#

This is totally crazy

App hangs when starting, debug gives nothing more

[11:48:37] File change detected. Starting incremental compilation...

[11:48:37] Found 0 errors. Watching for file changes.

[Nest] 35692  - 21/09/2025 11:48:40     LOG [NestFactory] Starting Nest application...
[Nest] 35692  - 21/09/2025 11:48:40     LOG [InstanceLoader] TypeOrmModule dependencies initialized +66ms
[Nest] 35692  - 21/09/2025 11:48:40     LOG [InstanceLoader] ConfigHostModule dependencies initialized +2ms
[Nest] 35692  - 21/09/2025 11:48:40     LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
[Nest] 35692  - 21/09/2025 11:48:40     LOG [InstanceLoader] DoctorsModule dependencies initialized +9ms
[Nest] 35692  - 21/09/2025 11:48:40     LOG [InstanceLoader] ConfigModule dependencies initialized +1ms
[Nest] 35692  - 21/09/2025 11:48:40     LOG [InstanceLoader] ConfigModule dependencies initialized +0ms

I tried everything for hours, commented parts, uncommented, I cannot find the root cause 😮
From my investigations : not related to DB (postgres), no circular dep

What is strange is that I cannot see my PatientModule in that list, but if I comment out this module, nothing changes

Any clue please ? I feel like it is DI
Thanks...

dense tinsel
#

well I believe the problem is quite difficult to understand with such little context can you please explain it more? Also make sure your patient module is loaded in you app module file,,, my best guess @wise raven

spiral plank
wise raven
#

Ok.... it was postgres....

#

Docker network KO

#

Absolutely no error at all

#

How can this silent error be avoided ?