-
Hello, I am trying to implement nest-commander for my project, which is currently using Standalone applications Without nest-commander, the setup is like this: main.ts
app.module.ts
custom-config.module.ts
dummy-test.service.ts
My CustomConfigService initializes some authorization stuff and uses the Logger to print to the console when it completes its tasks. When I run my Nest JS app normally with argument "basic", I get all the Logs from my CustomConfigService and DummyTestService. When I try to switch to using nest-commander, I am only making these 2 changes to main.ts
and dummy-test.service.ts
Running the command now gives me "hello" (the console.log from dummy-test.service.ts, but not any of my Logger.log. It seems like my CustomConfigModule is not getting loaded in properly. Does anyone happen to have insight as to what might be happening? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Huh, that's weird. Do you have a minimum reproduction for this at all? I'd love to take a look |
Beta Was this translation helpful? Give feedback.
Huh, that's weird. Do you have a minimum reproduction for this at all? I'd love to take a look