title: Typescript error when building nodeJs
body: <p>I m actually trying to developp an application with nodejs and typescript and I m facing a problem at tsc compilation.</p>
  
  <p>I got this error when running my code (it seems that the external module cannot be load) :</p>
  
  <pre><code>[09:20:29] Compiling TypeScript files using tsc version 1.5.0
  [09:20:30] Compiling TypeScript files using tsc version 1.5.0
  [09:20:30] [tsc] &gt; F:/SkeletonProject/typings/node/node.d.ts(198,26): error TS2304: Cannot find name 'DataView'.
  [09:20:30] [tsc] &gt; F:/SkeletonProject/typings/node/node.d.ts(212,21): error TS2304: Cannot find name 'Map'.
  [09:20:30] [tsc] &gt; F:/SkeletonProject/typings/node/node.d.ts(221,21): error TS2304: Cannot find name 'Set'.
  [09:20:30] [tsc] &gt; F:/SkeletonProject/typings/node/node.d.ts(231,25): error TS2304: Cannot find name 'WeakMap'.
  </code></pre>
  
  <p>Here's my gulpfile :</p>
  
  <pre><code>var gulp = require('gulp');
  var typescript = require('gulp-tsc');
  
  gulp.task('boot', ['compileBoot'], function () {
      return gulp.src(['./app/src/**/*.ts'])
          .pipe(typescript())
          .pipe(gulp.dest('./app/dist/'))
  });
  
  gulp.task('compileBoot', ['compileApp'], function () {
      return gulp.src(['./boot/**/*.ts'])
          .pipe(typescript())
          .pipe(gulp.dest('./boot'))
  });
  
  
  gulp.task('compileApp', function () {
      return gulp.src(['./app/src/**/*.ts'])
          .pipe(typescript())
          .pipe(gulp.dest('./app/dist/'))
  });
  
  
  gulp.start('boot');
  </code></pre>
  
  <p>And here's the code that doesn't want to compile and throw me the exception :</p>
  
  <pre><code>/// &lt;reference path="../typings/glob/glob.d.ts" /&gt;
  import glob = require('glob');
  console.log("zfazf");
  </code></pre>
  
  <p>What is wrong in this piece of code ?</p>
  
  <p>Thanks for advance</p>