darkphoenix2704
10/08/2022, 5:14 AM[Nest] 64803 - 10/08/2022, 10:37:13 AM ERROR [ExceptionHandler] Nest can't resolve dependencies of the AuthGuard (?). Please make sure that the argument Object at index [0] is available in the ProfileModule context.
Potential solutions:
- If Object is a provider, is it part of the current ProfileModule?
- If Object is exported from a separate @Module, is that module imported within ProfileModule?
@Module({
imports: [ /* the Module containing Object */ ]
})
Receiving this error when using AuthGuard in nestjs. i followed exactly by the docsrp_st
10/08/2022, 5:15 AMdarkphoenix2704
10/08/2022, 5:24 AMdarkphoenix2704
10/08/2022, 6:55 AMdarkphoenix2704
10/08/2022, 6:56 AMdarkphoenix2704
10/08/2022, 6:57 AMdarkphoenix2704
10/08/2022, 6:57 AMrp_st
10/08/2022, 7:35 AM