Unhandled Promise rejection: timeout ; Zone: <root> in angular 6
Asked Answered
N

0

16

When I use ng-recaptcha component while routing to another route.

Error is :

Unhandled Promise rejection: timeout ; Zone: ; Task: Promise.then ; Value: timeout undefined

enter image description here

Unhandled Promise rejection: timeout Zone: <root>; Task: Promise. then; 
Value: timeout undefined
./node_modules/zone.js/dist/zone.js/</</api.onUnhandledError
handleUnhandledRejection
loop 1
./node_modules/zone.js/dist/zone.js/</</api.microtaskDrainDone
drainMicroTaskQueue
./node_modules/zone.js/dist/zone.js/</ZoneTask.invokeTask
ZoneTask/this.invoke
timer

How could I resolve this error?

Neotropical answered 17/9, 2018 at 7:29 Comment(9)
Please provide a reproduce repo. This is just a normal error, when you have an uncaught error in promise.Nucleo
@jialipassion repo produce impossible. this error how debug them ?Neotropical
you can just add break point at zone.js 665, check the error.rejection.Nucleo
this error can hide on console or not ?Neotropical
Have you figured it out?Theta
@Theta not yet.!Neotropical
#52618479 relatedTheta
@Theta yes related i have used to recaptcha but it throw error when recaptha verifies then 60 second after promise rejection throwsNeotropical
It would be helpful, if you could provide a reproduction on stackblitz or at least a working code snippet.Wisecrack

© 2022 - 2024 — McMap. All rights reserved.