title: What's the right version of Angular to use that supports ngRx/data?
body: <p>I'm trying to build a project (<a href="https://www.learmoreseekmore.com/2021/07/ngrx-v12-an-angular-state-management-using-ngrx-data.html" rel="nofollow noreferrer">https://www.learmoreseekmore.com/2021/07/ngrx-v12-an-angular-state-management-using-ngrx-data.html</a>) that uses ngRx/data.  I have the following version of Angular installed</p>
  <pre><code>$ ng --version
  
       _                      _                 ____ _     ___
      / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
     / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
    / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
   /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                  |___/
      
  
  Angular CLI: 11.2.19
  Node: 14.15.1
  OS: darwin x64
  
  Angular: 11.2.14
  ... animations, common, compiler, compiler-cli, core, forms
  ... platform-browser, platform-browser-dynamic, router
  Ivy Workspace: Yes
  
  Package                         Version
  ---------------------------------------------------------
  @angular-devkit/architect       0.1102.19
  @angular-devkit/build-angular   0.1102.19
  @angular-devkit/core            11.2.19
  @angular-devkit/schematics      11.2.19
  @angular/cli                    11.2.19
  @schematics/angular             11.2.19
  @schematics/update              0.1102.19
  rxjs                            6.6.7
  typescript                      4.1.6
  </code></pre>
  <p>My angular.json file is as follows</p>
  <pre><code>$ cat angular.json
  {
    &quot;$schema&quot;: &quot;./node_modules/@angular/cli/lib/config/schema.json&quot;,
    &quot;version&quot;: 1,
    &quot;newProjectRoot&quot;: &quot;projects&quot;,
    &quot;projects&quot;: {
      &quot;ngrx-data-example&quot;: {
        &quot;projectType&quot;: &quot;application&quot;,
        &quot;schematics&quot;: {
          &quot;@schematics/angular:application&quot;: {
            &quot;strict&quot;: true
          }
        },
        &quot;root&quot;: &quot;&quot;,
        &quot;sourceRoot&quot;: &quot;src&quot;,
        &quot;prefix&quot;: &quot;app&quot;,
        &quot;architect&quot;: {
          &quot;build&quot;: {
            &quot;builder&quot;: &quot;@angular-devkit/build-angular:browser&quot;,
            &quot;options&quot;: {
              &quot;outputPath&quot;: &quot;dist/ngrx-data-example&quot;,
              &quot;index&quot;: &quot;src/index.html&quot;,
              &quot;main&quot;: &quot;src/main.ts&quot;,
              &quot;polyfills&quot;: &quot;src/polyfills.ts&quot;,
              &quot;tsConfig&quot;: &quot;tsconfig.app.json&quot;,
              &quot;aot&quot;: true,
              &quot;assets&quot;: [
                &quot;src/favicon.ico&quot;,
                &quot;src/assets&quot;
              ],
              &quot;styles&quot;: [
                &quot;src/styles.css&quot;,
                &quot;node_modules/bootstrap/dist/css/bootstrap.min.css&quot;
              ],
              &quot;scripts&quot;: [
                &quot;node_modules/bootstrap/dist/js/bootstrap.min.js&quot;
              ]
            },
            &quot;configurations&quot;: {
              &quot;production&quot;: {
                &quot;fileReplacements&quot;: [
                  {
                    &quot;replace&quot;: &quot;src/environments/environment.ts&quot;,
                    &quot;with&quot;: &quot;src/environments/environment.prod.ts&quot;
                  }
                ],
                &quot;optimization&quot;: true,
                &quot;outputHashing&quot;: &quot;all&quot;,
                &quot;sourceMap&quot;: false,
                &quot;namedChunks&quot;: false,
                &quot;extractLicenses&quot;: true,
                &quot;vendorChunk&quot;: false,
                &quot;buildOptimizer&quot;: true,
                &quot;budgets&quot;: [
                  {
                    &quot;type&quot;: &quot;initial&quot;,
                    &quot;maximumWarning&quot;: &quot;500kb&quot;,
                    &quot;maximumError&quot;: &quot;1mb&quot;
                  },
                  {
                    &quot;type&quot;: &quot;anyComponentStyle&quot;,
                    &quot;maximumWarning&quot;: &quot;2kb&quot;,
                    &quot;maximumError&quot;: &quot;4kb&quot;
                  }
                ]
              }
            }
          },
          &quot;serve&quot;: {
            &quot;builder&quot;: &quot;@angular-devkit/build-angular:dev-server&quot;,
            &quot;options&quot;: {
              &quot;browserTarget&quot;: &quot;ngrx-data-example:build&quot;
            },
            &quot;configurations&quot;: {
              &quot;production&quot;: {
                &quot;browserTarget&quot;: &quot;ngrx-data-example:build:production&quot;
              }
            }
          },
          &quot;extract-i18n&quot;: {
            &quot;builder&quot;: &quot;@angular-devkit/build-angular:extract-i18n&quot;,
            &quot;options&quot;: {
              &quot;browserTarget&quot;: &quot;ngrx-data-example:build&quot;
            }
          },
          &quot;test&quot;: {
            &quot;builder&quot;: &quot;@angular-devkit/build-angular:karma&quot;,
            &quot;options&quot;: {
              &quot;main&quot;: &quot;src/test.ts&quot;,
              &quot;polyfills&quot;: &quot;src/polyfills.ts&quot;,
              &quot;tsConfig&quot;: &quot;tsconfig.spec.json&quot;,
              &quot;karmaConfig&quot;: &quot;karma.conf.js&quot;,
              &quot;assets&quot;: [
                &quot;src/favicon.ico&quot;,
                &quot;src/assets&quot;
              ],
              &quot;styles&quot;: [
                &quot;src/styles.css&quot;
              ],
              &quot;scripts&quot;: []
            }
          },
          &quot;lint&quot;: {
            &quot;builder&quot;: &quot;@angular-devkit/build-angular:tslint&quot;,
            &quot;options&quot;: {
              &quot;tsConfig&quot;: [
                &quot;tsconfig.app.json&quot;,
                &quot;tsconfig.spec.json&quot;,
                &quot;e2e/tsconfig.json&quot;
              ],
              &quot;exclude&quot;: [
                &quot;**/node_modules/**&quot;
              ]
            }
          },
          &quot;e2e&quot;: {
            &quot;builder&quot;: &quot;@angular-devkit/build-angular:protractor&quot;,
            &quot;options&quot;: {
              &quot;protractorConfig&quot;: &quot;e2e/protractor.conf.js&quot;,
              &quot;devServerTarget&quot;: &quot;ngrx-data-example:serve&quot;
            },
            &quot;configurations&quot;: {
              &quot;production&quot;: {
                &quot;devServerTarget&quot;: &quot;ngrx-data-example:serve:production&quot;
              }
            }
          }
        }
      }
    },
    &quot;defaultProject&quot;: &quot;ngrx-data-example&quot;
  }
  </code></pre>
  <p>I have repeatedly removed my node_modules and package-lock.json files, but after running</p>
  <pre><code>npm i
  </code></pre>
  <p>and then</p>
  <pre><code>ng serve
  </code></pre>
  <p>I keep getting the errors</p>
  <pre><code>Error: node_modules/@ngrx/data/src/actions/entity-action-factory.d.ts:36:21 - error TS2694: Namespace '&quot;/Users/davea/Documents/workspace/ngrx-data-example/node_modules/@angular/core/core&quot;' has no exported member 'ɵɵFactoryDeclaration'.
  
  36     static ɵfac: i0.ɵɵFactoryDeclaration&lt;EntityActionFactory, never&gt;;
                         ~~~~~~~~~~~~~~~~~~~~
  
  
  Error: node_modules/@ngrx/data/src/actions/entity-action-factory.d.ts:37:22 - error TS2694: Namespace '&quot;/Users/davea/Documents/workspace/ngrx-data-example/node_modules/@angular/core/core&quot;' has no exported member 'ɵɵInjectableDeclaration'.
  
  37     static ɵprov: i0.ɵɵInjectableDeclaration&lt;EntityActionFactory&gt;;
                          ~~~~~~~~~~~~~~~~~~~~~~~
  
  ...
  Error: ./node_modules/@ngrx/store/fesm2015/ngrx-store.mjs 180:29-44
  Can't import the named export 'BehaviorSubject' from non EcmaScript module (only default export is available)
  
  Error: ./node_modules/@ngrx/store/fesm2015/ngrx-store.mjs 361:29-44
  Can't import the named export 'BehaviorSubject' from non EcmaScript module (only default export is available)
  
  Error: ./node_modules/@ngrx/store/fesm2015/ngrx-store.mjs 456:20-35
  Can't import the named export 'BehaviorSubject' from non EcmaScript module (only default export is available)
  
  ...
  </code></pre>
  <p>What is the appropriate version of Angular I should be using to support ngrx/data?</p>