title: Nest can't resolve dependencies of the ItemsService (?). Please make sure that the argument at index [0] is available in the AppModule context
body: <p>I follwed Nest JS Crash tutorial, <a href="https://www.youtube.com/watch?v=wqhNoDE6pb4" rel="noreferrer">Youtube Link</a>,
  I followed this, but when i import interface in service it shows error</p>
  
  <blockquote>
    <p>Nest can't resolve dependencies of the ItemsService (?). Please make sure that the argument at index [0] is available in the AppModule context.</p>
  </blockquote>
  
  <p>I i cloned repository given in tutorial, it is working fine, but when i copy src folder of that repository to my project it then throws error.
  here is my Service file</p>
  
  <pre><code>import { Injectable } from '@nestjs/common';
  import { Item } from './interfaces/item.interface';
  import { Model } from 'mongoose';
  
  import { ItemsModule } from './items.module'
  
  import { InjectModel } from '@nestjs/mongoose';
  
  @Injectable()
  export class ItemsService {
    constructor(@InjectModel('Item') private readonly itemModel: Model&lt;Item&gt;) {}
  });
  
  }
  </code></pre>
  
  <p>when I comment constructor line it works fine,
  I think issue is with this line, </p>
  
  <blockquote>
    <p>import { Model } from 'mongoose';</p>
  </blockquote>
  
  <p>because when i hover on this line it shows could not find declaration for this module.
  I even tried copying package.json file of working code to test but still error remains same</p>
  
  <blockquote>
    <p>My module Items contains, controller file, service file, module file,
    dto file, interface file, schema file,</p>
  </blockquote>