title: Angular 2 typescript: Cannot read property newLine of undefined
body: <p>I am using angular-CLI for angular 2, for running I am doing ng serve in command prompt after ng serve getting module build failed  'Cannot read property newLine of undefined' error for all my angular 2 projects.</p>
  
  <pre><code>Module build failed: TypeError: Cannot read property 'newLine' of undefined
  at Object.getNewLineCharacter (C:\Users\timebound\angularJson\node_modules\typescript\lib\typescript.js:8062:20)
  at Object.createCompilerHost (C:\Users\timebound\angularJson\node_modules\typescript\lib\typescript.js:44978:26)
  at Object.ngcLoader (C:\Users\timebound\angularJson\node_modules\@ngtools\webpack\src\loader.js:329:31)
  </code></pre>
  
  <p>@ multi webpack-dev-server/client?<a href="http://localhost:4300/" rel="noreferrer">http://localhost:4300/</a> ./src/main.ts</p>
  
  <p>I followed <a href="https://github.com/angular/angular-cli/issues/3781" rel="noreferrer">angular cli issues</a>,still i am not able to fix, i am newer to angular 2, please help me </p>