title: Typescript cannot find module Protractor
body: <p>I am integrating e2e testing in my project. The project uses Typescript (2.6.1).</p>
  
  <p>I have just installed Protractor (5.2.0) but no matter what I do Typescript cannot import anything from the Protractor module.</p>
  
  <p>My tsconfig looks like this:</p>
  
  <pre><code>{
      "compilerOptions": {
          "target": "es5",
          "module": "amd"
      },
      "exclude": [
          "./spec",
          "./node_modules",
          "./bower_components"
      ]
  }
  </code></pre>
  
  <p>My very simple try out test looks like this:</p>
  
  <pre><code>import { browser } from "protractor";
  
  describe("test should run", () =&gt; {
      it("should navigate to the page", () =&gt; {
  
      });
  });
  </code></pre>
  
  <p>I get the following error: <code>TypeScript error: usermanagement/ts/controllers/RolesController.e2e.ts(1,25): error TS2307: Cannot find module 'protractor'.</code></p>
  
  <p>Looking at the Protractor installation in my <code>node_modules</code> folder I do find a reference to a typings file and the actual typings themselves. However Typescript simply does not 'see' them. Interestingly Typescript has no problem finding typings in the <code>node_modules/@types</code> folder.</p>
  
  <p>Anyone know what I am doing wrong?</p>