-
Notifications
You must be signed in to change notification settings - Fork 726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue on NgRx installations #8
Comments
Hi Are you trying to run APM-Demo0? Not 100% of this error but maybe try the following option:
I have just pulled and run the '...Angular-NgRx-GettingStarted-master/APM-Demo0' successfully. |
Thank You for your quick response, but the issue was like when i was trying to install this node_module packages through 'npm install' command then by default @ngrx/store pulling the version 2.x.x from npm packages, then i had to manually mentioned the version this @ngrx/store by following commands "npm install @ngrx/store@6.0.0" But this issue was resolved by installing this version and started exploring about more ngrx. Thank you 👍 |
Ok, great I am glad you go tit resolved. |
"npm install @ngrx/store@latest --save" |
After installing ngrx/store through npm, showing these below compilations error
ERROR in node_modules/@ngrx/store/src/dispatcher.ts(1,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.
node_modules/@ngrx/store/src/dispatcher.ts(16,10): error TS2339: Property 'next' does not exist on type 'Dispatcher'.
node_modules/@ngrx/store/src/ng2.ts(1,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/@angular/core/core"' has no exported member 'OpaqueToken'.
node_modules/@ngrx/store/src/reducer.ts(1,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/BehaviorSubject"' has
no exported member 'BehaviorSubject'.
node_modules/@ngrx/store/src/state.ts(1,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/operator/withLatestFrom"' has no exported member 'withLatestFrom'.
node_modules/@ngrx/store/src/state.ts(2,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/operator/scan"' has no exported member 'scan'.
node_modules/@ngrx/store/src/state.ts(3,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/operator/observeOn"' has no exported member 'observeOn'.
node_modules/@ngrx/store/src/state.ts(4,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/scheduler/queue"' has no exported member 'queue'.
node_modules/@ngrx/store/src/state.ts(5,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.
node_modules/@ngrx/store/src/state.ts(20,36): error TS2339: Property 'next' does not exist on type 'State'.
node_modules/@ngrx/store/src/store.ts(1,41): error TS2307: Cannot find module '@ngrx/core'.
node_modules/@ngrx/store/src/store.ts(2,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/Observer"' has no exported member 'Observer'.
node_modules/@ngrx/store/src/store.ts(3,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@ngrx/store/src/store.ts(4,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/Subscriber"' has no exported member 'Subscriber'.
node_modules/@ngrx/store/src/store.ts(5,10): error TS2305: Module '"D:/Angular/Angular-NgRx-GettingStarted/APM-Demo0/node_modules/rxjs/Operator"' has no exported member 'Operator'.
node_modules/@ngrx/store/src/store.ts(20,10): error TS2339: Property 'source' does not exist on type 'Store'.
node_modules/@ngrx/store/src/store.ts(27,11): error TS2339: Property 'operator' does not exist on type 'Store'.
node_modules/rxjs/BehaviorSubject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/BehaviorSubject'.
node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
node_modules/rxjs/Observer.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observer'.
node_modules/rxjs/Operator.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Operator'.
node_modules/rxjs/Subscriber.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subscriber'.
node_modules/rxjs/operator/observeOn.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/observeOn'.
node_modules/rxjs/operator/scan.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/scan'.
node_modules/rxjs/operator/withLatestFrom.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/withLatestFrom'.
node_modules/rxjs/scheduler/queue.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/scheduler/queue'.
The text was updated successfully, but these errors were encountered: