Unhandled Promise rejection while working with Angular 5

1,661 views
Skip to first unread message

Ankita Bhardwaj

unread,
Jun 6, 2018, 3:17:06 AM6/6/18
to Angular and AngularJS discussion
Hi,


I am working on a small Angular 5 application. I am stuck while implementing the Login screen with the following error,

Unhandled Promise rejection: Unable to get property 'schedule' of undefined or null reference ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Unable to get property 'schedule' of undefined or null reference TypeError: Unable to get property 'schedule' of undefined or null reference

I have already added the required changes in polyfills.js.

Can someone help me here.

Regards
Ankita

Sander Elias

unread,
Jun 6, 2018, 4:16:05 AM6/6/18
to Angular and AngularJS discussion
Hi Ankita,

Can you reproduce this on stackblitz? That would enable me to help you!

Regards
Sander

abhay dhar

unread,
Jul 2, 2018, 7:36:03 AM7/2/18
to Angular and AngularJS discussion
Most probably the error if because the object is null. & null.schedule will throw this error
Reply all
Reply to author
Forward
0 new messages