title: Error: Cannot find module 'src/entities/Post'
body: <p>so i am creating a graphQL server using type-graph and mikro-orm
  everything was fine till i got this error that says =&gt; Error: Cannot find module 'src/entities/Post' and that module exists as you can see in this picture:
  <a href="https://i.stack.imgur.com/a6saU.png" rel="nofollow noreferrer">folder structure</a></p>
  <p>and this is what the error looks like int the terminal: <a href="https://i.stack.imgur.com/BQ6cG.png" rel="nofollow noreferrer">error in the terminal</a></p>
  <p>by the way i am using script called watch: &quot;tsc -w&quot; to convert typescript into javascript.</p>
  <p>this is a code example of my postResolver:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import { Post } from './src/entities/Post';
  import { MyContext } from 'src/types';
  import {Ctx, Query, Resolver} from 'type-graphql';
  
  @Resolver()
  export class postResolver {
      @Query(()=&gt; [Post])
      posts(@Ctx() {em}: MyContext) : Promise&lt;Post[]&gt;{
          return em.find(Post, {})
      }
  }</code></pre>
  </div>
  </div>
  
  it says that the module ./src/entities/Post does not exist while it exists and i really don't know why</p>