Nest cannot export a provider/module that is not a part of the currently processed module (PatientsModule). Please verify whether the exported UsersModule is available in this particular context.
Possible Solutions:
- Is UsersModule part of the relevant providers/imports within PatientsModule?
Error: Nest cannot export a provider/module that is not a part of the currently processed module (PatientsModule). Please verify whether the exported UsersModule is available in this particular context.
фигню несёшь. чой то у тебя PatientsModule экспортирует UsersModule ?
[Nest] 19304 - 17.07.2022, 01:34:04 ERROR [ExceptionHandler] Nest can't resolve dependencies of the UsersService (?). Please make sure that the argument UserRepository at index [0] is available in the AppModule context. Potential solutions: - If UserRepository is a provider, is it part of the current AppModule? - If UserRepository is exported from a separate @Module, is that module imported within AppModule? @Module({ imports: [ /* the Module containing UserRepository */ ] })
Обсуждают сегодня