title: TypeScript cannot find module with non-relative path 'src/xxx'
body: <p>I had meet the problem that resolve non-relative moduels in typescript. And try <code>baseUrl</code>, <code>paths</code> and so on, but it not works....</p>
  
  <p><strong>tsconfig.json</strong></p>
  
  <pre><code>{
    "compilerOptions": {
      "allowJs": true,
      "baseUrl": ".",
      "esModuleInterop": true,
      "module": "commonjs",
      "sourceMap": true,
      "strict": true,
      "target": "esnext",
      "typeRoots": ["node_modules/@types"]
   }
  }
  </code></pre>
  
  <p>The project dirs:</p>
  
  <pre><code>root
    ├─src
      ├── APIs
      ├── config
      ├── constants
      ├── middlewares
      ├── models
      ├── routes
      ├── services
            - foo.ts   
      ├── utils
      └── app.ts
  </code></pre>
  
  <p>in <strong>app.ts</strong></p>
  
  <pre><code>import foo from 'src/services/foo'
  </code></pre>
  
  <p>And run with <code>ts-node src/app.ts</code>.</p>
  
  <p>But the error occurs:</p>
  
  <pre><code>Cannot find module 'src/services/foo'
  </code></pre>