-
Hello, I was following instruction, removed not used modules. While starting following dependency error appears. [Nest] 60283 - 04/28/2024, 2:59:41 PM ERROR [ExceptionHandler] Nest can't resolve dependencies of the UserService (?, ReferralRepository, SqlEntityManager, ConfigService, AmqpConnection, CloudinaryService, MailerService). Please make sure that the argument "UserRepository" at index [0] is available in the UserModule context.
Potential solutions:
- Is UserModule a valid NestJS module?
- If "UserRepository" is a provider, is it part of the current UserModule?
- If "UserRepository" is exported from a separate @Module, is that module imported within UserModule?
@Module({
imports: [ /* the Module containing "UserRepository" */ ]
}) Can you help on it? |
Beta Was this translation helpful? Give feedback.
Answered by
fac3m4n
Aug 28, 2024
Replies: 3 comments 8 replies
-
can you screenshot the constructor for userservice @fac3m4n |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have the same problem.
|
Beta Was this translation helpful? Give feedback.
6 replies
-
Make a fresh install |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
all good after fresh install 💪