How to make FlowProducer as a Provider? #2418
Replies: 1 comment
-
I am not familiar with Nest but this is what ChatGPT had to say about it: The error you're encountering with NestJS and the Bull Queue indicates a common issue with dependency injection and module scoping within the NestJS framework. The error message:
suggests that the Here's a step-by-step guide to address this issue: 1. Ensure Proper Exports in
|
Beta Was this translation helpful? Give feedback.
-
can you someone help me fix the problem here? Nest shows the error
I have 2 modules here
In RegisterQueueModule, I register the
flowProducer
byHere is the QueueBoardModule.
In the
RegisterService
class, I inject theflowProducer
In custom decorator.
In the AdminModule,
I found a solution but it seems not to be the right solution by importing the same flow again in the
AdminModule
, and the error is gone.Does anyone know the issue here, could you help me fix it? thank you.
Beta Was this translation helpful? Give feedback.
All reactions