title: AspNetCore + Angular 2: WebpackDevMiddleware Error with new project
body: <p>I'm creating a new project with this tutorial:</p>
  
  <p><a href="https://blogs.msdn.microsoft.com/webdev/2017/02/14/building-single-page-applications-on-asp-net-core-with-javascriptservices/" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/webdev/2017/02/14/building-single-page-applications-on-asp-net-core-with-javascriptservices/</a></p>
  
  <p>Next some resolved issues, I have now a complete project with all dependencies installed but when I launch the project with IIS, I have this error .</p>
  
  <pre><code>    L'exception System.AggregateException s'est produite
    HResult=0x80131500
    Message=One or more errors occurred.
    Source=&lt;Impossible d'évaluer la source de l'exception&gt;
    Arborescence des appels de procédure :
     at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
     at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
     at Microsoft.AspNetCore.Builder.WebpackDevMiddleware.UseWebpackDevMiddleware(IApplicationBuilder appBuilder, WebpackDevMiddlewareOptions options)
     at Test.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in C:\VS2017\Project\Test\Startup.cs:line 44
  
  Exception interne 1 :
  Exception : Call to Node module failed with error: Webpack dev middleware failed because of an error while loading 'aspnet-webpack'. Error was: C:\VS2017\Project\Test\node_modules\webpack\lib\webpack.js:7
  const Compiler = require("./Compiler");
  ^^^^^
  SyntaxError: Use of const in strict mode.
      at exports.runInThisContext (vm.js:73:16)
      at Module._compile (module.js:443:25)
      at Object.Module._extensions..js (module.js:478:10)
      at Module.load (module.js:355:32)
      at Function.Module._load (module.js:310:12)
      at Module.require (module.js:365:17)
      at require (module.js:384:17)
      at Object.&lt;anonymous&gt; (C:\VS2017\Project\Test\node_modules\aspnet-webpack\WebpackDevMiddleware.js:4:15)
      at Module._compile (module.js:460:26)
      at Object.Module._extensions..js (module.js:478:10)
  Current directory is: C:\VS2017\Project\Test
  </code></pre>
  
  <p>I don't know wich step I failed so if someone already did it.</p>