title: node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid 'reference' directive syntax
body: <p>I have a problem with typescript compilation. Has anybody else received this error?</p>
  <blockquote>
  <p>node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid
  'reference' directive syntax.</p>
  </blockquote>
  <p>tsconfig.json:</p>
  <pre><code>{
      &quot;compileOnSave&quot;: false,
      &quot;compilerOptions&quot;: {
          &quot;sourceMap&quot;: true,
          &quot;outDir&quot;: &quot;./dist&quot;,
          &quot;rootDir&quot;: &quot;./app&quot;,
          &quot;target&quot;: &quot;es6&quot;,
          &quot;module&quot;: &quot;commonjs&quot;,
          &quot;declaration&quot;: false,
          &quot;noImplicitAny&quot;: false,
          &quot;removeComments&quot;: true,
          &quot;emitDecoratorMetadata&quot;: true,
          &quot;experimentalDecorators&quot;: true,
          &quot;listFiles&quot;: false,
          &quot;skipLibCheck&quot;: true
      },
      &quot;include&quot;: [
          &quot;./app/**/*.ts&quot;
      ]
  }
  </code></pre>
  <p>typescript version in package.json: <code>&quot;typescript&quot;: &quot;^2.6.1&quot;</code></p>