Cannot find module that is defined in tsconfig `paths` : <p>I am trying to setup aliases for my mock server. Whenever I try to compile <code>ts</code> files, it returns error that it couldn't find proper modules even though those are defined in <code>tsconfig,json</code>-><code>paths</code></p>

<p>Folder structure:</p>

<pre class="lang-sh prettyprint-override"><code>├── server
│   └── src
│       └──/json
├── src
│   └──/modules
├── tsconfig.json
</code></pre>

<p>Here is my <code>tsconfig.json</code></p>

<pre><code>{
    "compilerOptions": {
        "baseUrl": "./src",
        "experimentalDecorators": true,
        "jsx": "react",
        "lib": [
            "dom",
            "es2015",
            "es2015.promise"
        ],
        "module": "commonjs",
        "moduleResolution": "node",
        "noImplicitAny": true,
        "noUnusedLocals": true,
        "esModuleInterop": true,
        "paths": {
            "@project/app/modules/*": [
                "modules/*"
            ],
            "@project/server/data/*": [
                "../server/src/json/*"
            ]
        },
        "sourceMap": true,
        "target": "es5"
    },
    "exclude": [
        "node_modules",
        "tools"
    ]
}
</code></pre>

<p>Error:
<code>Error: Cannot find module '@project/server/data/accounts/accountsList'</code></p>
