title: Angular 7:@angular/core/core has no exported member 'OpaqueToken'
body: <p>Getting this error message on the build of a brand new project just created from Angular:</p>
  
  <pre><code>ERROR in node_modules/@ngrx/store/src/ng2.d.ts(1,10): error TS2305: Module '"../../../@angular/core/core"' has no exported member 'OpaqueToken'.
  </code></pre>
  
  <p>I did a bunch of searching and found some issues that were not my problem. Here's a few:</p>
  
  <p>1) <a href="https://stackoverflow.com/questions/53426423/module-node-modules-angular-core-core-has-no-exported-member-opaquetoken">Module &#39;&quot;node_modules/@angular/core/core&quot;&#39; has no exported member &#39;OpaqueToken&#39;</a>, not using flex-layout</p>
  
  <p>2) <a href="https://stackoverflow.com/questions/48260208/why-error-in-angular-5-as-has-no-exported-member-opaquetoken">Why error in Angular 5 as : has no exported member &#39;OpaqueToken&#39;.?</a>, no flex-layout, no agm, other issues angular 5 specific.</p>
  
  <p>3) <a href="https://stackoverflow.com/questions/48368530/angular-module-has-no-exported-member-opaquetoken-error">Angular - Module has no exported member &#39;OpaqueToken&#39; Error</a>, tried the upgrade of ngrx to latest to no effect.</p>
  
  <p>This is a simple app that uses an http request and places the result in a store and then reads that result from a store.</p>
  
  <p>I am not using OpaqueToken directly. Here is my package.json dep section:</p>
  
  <pre><code>  "dependencies": {
      "@angular/animations": "~7.2.0",
      "@angular/common": "~7.2.0",
      "@angular/compiler": "~7.2.0",
      "@angular/core": "~7.2.0",
      "@angular/forms": "~7.2.0",
      "@angular/platform-browser": "~7.2.0",
      "@angular/platform-browser-dynamic": "~7.2.0",
      "@angular/router": "~7.2.0",
      "@ngrx/core": "github:ngrx/core",
      "@ngrx/store": "github:ngrx/store",
      "core-js": "^2.5.4",
      "cors": "^2.8.5",
      "ngrx": "^2.0.1",
      "rxjs": "^6.4.0",
      "rxjs-compat": "^6.4.0",
      "tslib": "^1.9.0",
      "zone.js": "~0.8.26"
    },
    "devDependencies": {
      "@angular-devkit/build-angular": "~0.13.0",
      "@angular/cli": "~7.3.1",
      "@angular/compiler-cli": "~7.2.0",
      "@angular/language-service": "~7.2.0",
      "@types/node": "~8.9.4",
      "@types/jasmine": "~2.8.8",
      "@types/jasminewd2": "~2.0.3",
      "codelyzer": "~4.5.0",
      "jasmine-core": "~2.99.1",
      "jasmine-spec-reporter": "~4.2.1",
      "karma": "~3.1.1",
      "karma-chrome-launcher": "~2.2.0",
      "karma-coverage-istanbul-reporter": "~2.0.1",
      "karma-jasmine": "~1.1.2",
      "karma-jasmine-html-reporter": "^0.2.2",
      "protractor": "~5.4.0",
      "ts-node": "~7.0.0",
      "tslint": "~5.11.0",
      "typescript": "~3.2.2"
    }
  }
  </code></pre>
  
  <p>Any ideas what's incompatible? I'm still pretty new to Angular and it seems like too often, just creating a new app from Angular results in having to fix dependencies.</p>