1

After installing ngrx store I get this error, does anybody know why?

C:\Users\user\Desktop\NgRxExample\ngrx-applications>ng s -o

chunk {main} main.js, main.js.map (main) 2.04 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 697 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 9.73 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 340 kB [initial] [rendered]
Date: 2020-09-11T05:00:32.637Z - Hash: 7a41446eaa7b76a1e566 - Time: 2949ms

ERROR in The target entry-point "@ngrx/store" has missing dependencies: - @angular/core

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
mkrieger1
  • 19,194
  • 5
  • 54
  • 65
Russian Federation
  • 194
  • 1
  • 5
  • 24

1 Answers1

0

Found the fix here: Ng serve throwing @angular/core/core has no exported member 'eeFactoryDef'

In myApp's tsconfig.json file, made the following entry under compilerOptions

    "paths": {
      "@angular/*": ["./node_modules/@angular/*"]
    },
RT.
  • 435
  • 2
  • 9
  • 25