title: The "@angular/compiler-cli" package was not properly installed
body: <p>Upgrading my project to <strong>Angular 4.0</strong> (from 2.4) with <strong>Angular CLI 1.0</strong> (from beta.31), I get the error below after following the <a href="https://github.com/angular/angular-cli/wiki/stories-1.0-update" rel="nofollow noreferrer">migration guide</a>:</p>
  
  <pre><code>&gt; ng build --prod
  
  The "@angular/compiler-cli" package was not properly installed.
  Error: The "@angular/compiler-cli" package was not properly installed.
      at Object.&lt;anonymous&gt; (/home/jan/src/fm-repos/fm-ui/node_modules/@ngtools/webpack/src/index.js:14:11)
      at Module._compile (module.js:571:32)
      at Object.Module._extensions..js (module.js:580:10)
      at Module.load (module.js:488:32)
      at tryModuleLoad (module.js:447:12)
      at Function.Module._load (module.js:439:3)
      at Module.require (module.js:498:17)
      at require (internal/module.js:20:19)
      at Object.&lt;anonymous&gt; (/home/jan/src/fm-repos/fm-ui/node_modules/@angular/cli/tasks/eject.js:10:19)
      at Module._compile (module.js:571:32)
      at Object.Module._extensions..js (module.js:580:10)
      at Module.load (module.js:488:32)
      at tryModuleLoad (module.js:447:12)
      at Function.Module._load (module.js:439:3)
      at Module.require (module.js:498:17)
      at require (internal/module.js:20:19)
  </code></pre>
  
  <p>My angular dependencies post-migration:</p>
  
  <pre><code>"@angular/animations": "^4.0.0",
  "@angular/common": "^4.0.0",
  "@angular/compiler": "^4.0.0",
  "@angular/compiler-cli": "^4.0.0",
  "@angular/core": "^4.0.0",
  "@angular/forms": "^4.0.0",
  "@angular/http": "^4.0.0",
  "@angular/platform-browser": "^4.0.0",
  "@angular/platform-browser-dynamic": "^4.0.0",
  "@angular/router": "^4.0.0",
  "@angular/cli": "1.0.0",
  "@angular/material": "2.0.0-beta.3",
  </code></pre>
  
  <p><strong>Note</strong>: this similar question is about <strong>Angular 2</strong> project: <a href="https://stackoverflow.com/questions/42925690/angular2-cli-error-angular-compiler-cli-package-was-not-properly-installed">Angular2 CLI error &quot;@angular/compiler-cli&quot; package was not properly installed</a></p>