#Nest can't resolve dependencies

1 messages · Page 1 of 1 (latest)

random nimbus
#

Hello, such a dummy error, hitting me so hard, cant handle with it about an hour. DashboardService is in providers of UserModule, but it throwing an error like i can't find it. Where i had a mistake?

drifting loom
#

argument dependency usually means you have a circular file import

random nimbus
#

I see, so the forwardRef() can make it right?

drifting loom
#

Probably

random nimbus
#

Thanks, ill try it.

ornate locust
hearty silo
#

Aren't they registering the DashboardsService as a provider twice? CB_pika_think

drifting loom
#

They are, but there's still a circular issue which should be addressed first