AmitXShukla / Online-School-Management-App-Angular-Firebase

Angular 11.0 Firebase App - Online School , Student Management App
184 stars 88 forks source link

app not running on local host #1

Closed vaidyashubham closed 4 years ago

vaidyashubham commented 5 years ago

when i serve app it gives me "@copyright 2019 Amit.LA https://github.com/AmitXShukla".

AmitXShukla commented 5 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.

vaidyashubham commented 5 years ago

Untitled Untitled1 Untitled2

AmitXShukla commented 5 years ago

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: " " }

vaidyashubham commented 5 years ago

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 .

rajatpal94 commented 5 years ago

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)

AmitXShukla commented 5 years ago

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.