Hi everyone
Anyone can help me to figure out this error on the screenshot please?
@Injectable()
export class UsersService {
constructor(
private prisma: PrismaService,
private bcrypt: Bcrypt,
) {}
I'm using this on my constructor, and for the error disappear I need to remove all these dependencies.
On my module:
@Module({
controllers: [UsersController],
providers: [Bcrypt, JwtAuthGuard, JwtService, UsersService],
exports: [UsersService],
})
export class UsersModule {}
The Prisma service I put it globally and import it on app.module.ts:
@Global()
@Module({
providers: [PrismaService],
exports: [PrismaService],
})
export class PrismaModule {}