NullInjectorError: No provider for ReducerManager : <p>I am using the new ngrx 5. This is the file that holds the reducers and the featureSelector:</p>

<pre><code>import AppState from '../interfaces/app.state'
import { ActionReducerMap, createFeatureSelector } from '@ngrx/store'
import { partnerReducer } from './partner.reducer'

export const reducers: ActionReducerMap&lt;AppState&gt; = {
  partnerState: partnerReducer
}

export const getAppState = createFeatureSelector&lt;AppState&gt;('appState')
</code></pre>

<p>This is how I am importing the storeModule</p>

<pre><code>@NgModule({
declarations: [...],
imports: [...
  RouterModule.forRoot(ROUTES),
  StoreModule.forFeature('appState', reducers)
],
providers: [...],
bootstrap: [AppComponent],
entryComponents: [...]
})

export class AppModule { }
</code></pre>

<p>I have followed <a href="https://toddmotto.com/ngrx-store-understanding-state-selectors" rel="noreferrer">this</a> tutorial</p>

<p>When I run the app, I get the following error:</p>

<pre><code>"StaticInjectorError(AppModule)[StoreFeatureModule -&gt; ReducerManager]: 
\n  StaticInjectorError(Platform: core)[StoreFeatureModule -&gt; ReducerManager]: 
\n    NullInjectorError: No provider for ReducerManager!"
</code></pre>

<p>But if I do provide ReducerManager in the providers, I get this error:</p>

<pre><code>No provider for ReducerManagerDispatcher!
</code></pre>
