Closed vaidyashubham closed 4 years ago
I assume, there is no other compilation error. Please check your app.component.html for has router-outlet and app.routing file if routes are setup correctly. Please include a screen-shot of these files and console if you can.
Thanks, You should look at ng serve console log as well. However, browser log is very clear, API key is invalid. that means, your FireBase is NOT setup correctly. Please watch the video and update your environment -> environment.ts FireBase settings. firebase : { apiKey: " ", authDomain: " ", databaseURL: " ", projectId: " ", storageBucket: " ", messagingSenderId: " " }
But ngserve is running fine there is no problem with that.
On Sat, 29 Jun 2019, 9:40 pm Amit Shukla, notifications@github.com wrote:
Thanks, You should look at ng serve console log as well. However, browser log is very clear, API key is invalid. that means, your FireBase is NOT setup correctly. Please watch the video and update your environment -> environment.ts FireBase settings. firebase : { apiKey: " ", authDomain: " ", databaseURL: " ", projectId: " ", storageBucket: " ", messagingSenderId: " " }
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AmitXShukla/Online-School-Management-App-Angular-Firebase/issues/1?email_source=notifications&email_token=AKFQLCGPRCOUVFFG7F4TALLP46CN3A5CNFSM4H3PVJZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY33S6Y#issuecomment-506968443, or mute the thread https://github.com/notifications/unsubscribe-auth/AKFQLCAKFA5NAPKMNME37WLP46CN3ANCNFSM4H3PVJZQ .
Thank you, this is very useful application, but in settings page, after login i fetch this error..
ERROR TypeError: Cannot read property '_id' of undefined at SwitchMapSubscriber.project (backend.service.ts:91) at SwitchMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/switchMap.js.SwitchMapSubscriber._next (switchMap.js:35) at SwitchMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at MapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/map.js.MapSubscriber._next (map.js:41) at MapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at angularfire2.js:49 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:391) at Object.onInvoke (core.js:17299) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:390) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:150)
Thank you, this is very useful application, but in settings page, after login i fetch this error..
ERROR TypeError: Cannot read property '_id' of undefined at SwitchMapSubscriber.project (backend.service.ts:91) at SwitchMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/switchMap.js.SwitchMapSubscriber._next (switchMap.js:35) at SwitchMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at MapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/map.js.MapSubscriber._next (map.js:41) at MapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at angularfire2.js:49 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:391) at Object.onInvoke (core.js:17299) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:390) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:150)
@rajatpal94 I will fork this repository and look into this issue. I believe, this may be due to Angular Version conflict. You be on latest Angular version (8) and this repo is on Angular 7.2.14 & 8.0.0 rc.0. I will upgrade this repo soon.
when i serve app it gives me "@copyright 2019 Amit.LA https://github.com/AmitXShukla".