title: Module not found: Error: Can't resolve 'http' - @angular-devkit/core
body: <p>after updating project to ng v6 I've got a problem with compilation</p>
  
  <p><code>ERROR in ./node_modules/@angular-devkit/core/src/json/schema/registry.js
  Module not found: Error: Can't resolve 'http' in 'C:\Users\Damian Roszyk\WebstormProjects\BizzLayerClient\node_modules\@angular-devkit\core\src\json\schema'
  i ｢wdm｣: Failed to compile.</code></p>
  
  <p>ng -v: </p>
  
  <pre><code>Angular CLI: 6.0.3 
  Node: 10.1.0 OS: win32 x64 
  Angular: 6.0.2
  ... animations, common, compiler, core, forms, http
  ... platform-browser, platform-browser-dynamic, platform-server
  ... router
  
  @angular-devkit/architect 0.6.3
  @angular-devkit/build-angular 0.6.3 
  @angular-devkit/build-optimizer 0.6.3
  @angular-devkit/core 0.6.3
  @angular-devkit/schematics 0.6.3
  @angular/cli 6.0.3
  @angular/compiler-cli 6.0.2
  @ngtools/webpack 6.0.3
  @schematics/angular 0.6.3
  @schematics/update 0.6.3
  rxjs 6.1.0
  typescript 2.7.2
  webpack 4.8.3
  </code></pre>
  
  <p>Does anyone encountered same problem and know how to solve it ?</p>