Search code examples
angulartypescriptngrxngrx-store

How can I solve this error with ngrx/store


I faced an error using StoreModule.forRoot() in angular project with NgRX. I will attach a picture of my error if anyone can help with a solution for it.

I was trying to implement reducers in angular using ngrx/store but I faced a problem while importing it in app.module. Image of error


Solution

  • The problem was that I was using the latest version of NgRx/store which was released lately. So I recommend to use NgRx/store v14.0.0 which is the last version fully built. To install this version in Windows OS use the command : npm i @ngrx/[email protected]