Issue
When ng2-redux successfully installed and want to run ng serve I got this error.

Entry point implementation in main.ts
platformBrowserDynamic().bootstrapModule(AppModule).catch(err => console.error(err));
Rootreducer in app.module.ts.
export class AppModule {constructor(private ngRedux: NgRedux<IAppState>) {this.ngRedux.configureStore(rootReducer, { counter: 0 });}}
Error listed missing dependencies even I have installed latest rxjs.Here package.json

let me know. What I am missing?
Solution
Most likely you reviece this error due to deprecation of the library, first thing you see when visiting their page on npm is
This package has been deprecated Author message:
This package has moved. Please 'npm install @angular-redux/store' instead.
Have you tried installing npm install @angular-redux/store instead? If not, can you try installing it?
Answered By - Tommi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.