title: Resolve 'Conflicting definitions for node' TS4090 error in VS 2017
body: <p>I have a TypeScript project that builds and runs, but I have a ton of build errors that all seem to stem from one error:</p>
  
  <blockquote>
    <p>TS4090: (TS) Conflicting definitions for 'node' found at 'C:/[projectpath]/node_modules/@types/node/index.d.ts' and 'C:/[user path to Microsoft]/Typescript/3.1/node_modules/@types/node/index.d.ts'.  Consider installing a specific version of this library to resolve the conflict.</p>
  </blockquote>
  
  <p>I don't understand the bit about "installing a specific version of this library".  I'm not certain why two versions are being found to begin with.</p>
  
  <p>My app has a <code>tsconfig.json</code> file located in the <code>ClientApp</code> folder.  It contains the following:</p>
  
  <pre><code>{
    "compileOnSave": false,
    "compilerOptions": {
      "module": "esnext",
      "skipLibCheck": true,
      "removeComments": true,
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "sourceMap": true,
      "target": "es2015",
      "lib": [
          "es2016",
          "es2017",
        "dom"
      ],
      "moduleResolution": "node",
      "allowJs": true,
      "baseUrl": "src"
    },
    "include": [
      "./src/**/*.ts",
      "./test/**/*.ts",
      "./custom_typings/**/*.d.ts"
    ],
      "atom": {
          "rewriteTsconfig": false
      },
      "typeAcquisition": {"enable": false}
  }
  </code></pre>
  
  <p>I added the <code>typeAcquisition</code> recently based on comments on other posts relating to this -- but it had no affect.</p>
  
  <p>What do I need to do to "install a specific version of this library"?</p>
  
  <p><strong>Environment</strong></p>
  
  <p>The project targets .NetCore 2.2.  The project contains WebAPI Controllers that serve up backend data as well as a ClientApp folder that contains a SPA UI created with Aurelia.  I use WebPack to build the SPA application.</p>
  
  <p><strong>Errors</strong></p>
  
  <p><a href="https://i.stack.imgur.com/bP7ti.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bP7ti.png" alt="enter image description here"></a></p>