title: Angular 2 and CommonJS Relative Paths
body: <p>I'm trying to use <code>module: module.id</code> in my Angular 2 Components to use relative paths in the components. I referenced <a href="http://blog.thoughtram.io/angular/2016/06/08/component-relative-paths-in-angular-2.html#agreeing-on-constraints" rel="nofollow noreferrer">this article here</a> and want to use the CommonJS option. </p>
  
  <p>I have also checked other Stack Overflow questions, <a href="https://stackoverflow.com/questions/36700693/typescript-error-in-angular2-code-cannot-find-name-module">like this one</a>, and followed its instructions by installing the node typings. </p>
  
  <p>After doing all that, I believe it's working, seeing as how the app loads in the browser and works as expected, but my gulp project shows an error of: </p>
  
  <pre><code>error: TS2304: Cannot find name 'module'.
  </code></pre>
  
  <p>I'm not sure why the error pops up in gulp but the app still loads. Does anyone have any ideas as to why this would happen? Is there something I can do to let gulp know so the error doesn't show up in the build process?</p>