You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the Readme, getting the following error:
> [email protected] start
> ts-node -r tsconfig-paths/register src/main.ts
[Nest] 5198 - 05/03/2021, 7:27:29 PM [NestFactory] Starting Nest application...
[Nest] 5198 - 05/03/2021, 7:27:30 PM [InstanceLoader] ApplicationModule dependencies initialized +121ms
[Nest] 5198 - 05/03/2021, 7:27:30 PM [InstanceLoader] SequelizeModule dependencies initialized +0ms
[Nest] 5198 - 05/03/2021, 7:27:30 PM [ExceptionHandler] Nest can't resolve dependencies of the UsersService (?). Please make sure that the argument UsersRepository at index [0] is available in the UsersModule context.
Potential solutions:
- If UsersRepository is a provider, is it part of the current UsersModule?
- If UsersRepository is exported from a separate @Module, is that module imported within UsersModule?
@Module({
imports: [ /* the Module containing UsersRepository */ ]
})
+2ms
Error: Nest can't resolve dependencies of the UsersService (?). Please make sure that the argument UsersRepository at index [0] is available in the UsersModule context.
Potential solutions:
- If UsersRepository is a provider, is it part of the current UsersModule?
- If UsersRepository is exported from a separate @Module, is that module imported within UsersModule?
@Module({
imports: [ /* the Module containing UsersRepository */ ]
})
The text was updated successfully, but these errors were encountered:
Following the Readme, getting the following error:
The text was updated successfully, but these errors were encountered: