title: AngularJS 2 error: enableProdMode is not defined
body: <p>I'm use <a href="https://angular.io/guide/quickstart" rel="nofollow noreferrer">https://angular.io/guide/quickstart</a> to start learn Angular2, but I notice there's console log "Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode." So I added to main.ts as following.</p>
  
  <pre><code>import { bootstrap }    from '@angular/platform-browser-dynamic';
  import { AppComponent } from './app.component';
  enableProdMode();
  bootstrap(AppComponent);
  </code></pre>
  
  <p>Now the browser has error </p>
  
  <blockquote>
    <p>enableProdMode is not defined(…)</p>
  </blockquote>
  
  <p>So I found this article <a href="https://github.com/angular/angular/issues/6096" rel="nofollow noreferrer">https://github.com/angular/angular/issues/6096</a>.</p>
  
  <p>Looks like I'm doing it right, and works on others, so maybe my package files  or npm modules has something is wrong? please help, or do you know which module is using enableProdMode?</p>