How to inject interface in module of nestjs app
问题 Here is the screenshot of error: I got many answers for this problem but i didn't get any exact proper solution.When i remove UsersModule from below code then i got error of 404 not found in postman.But when i write UsersModule in below code then i got error which is mentioned in screenshot. Here is the code of app module: @Module({ imports: [UsersModule,MongooseModule.forRoot("mongodb://localhost:27017/jwt",{ useNewUrlParser: true })], controllers: [AppController], providers: [AppService] })