I've an Ionic/angular project that I paused for a while. I resumed working on it, but I've an error coming in the console. The user effect is that nothing is displayed for 10-15 seconds, then my google is loaded, but then I see no disfunction.
core.js:4197 ERROR RangeError: Maximum call stack size exceeded
at MapSubscriber._error (Subscriber.js:75)
at MapSubscriber.error (Subscriber.js:55)
at MergeMapSubscriber.notifyError (OuterSubscriber.js:7)
at InnerSubscriber._error (InnerSubscriber.js:14)
at InnerSubscriber.error (Subscriber.js:55)
at CatchSubscriber._error (Subscriber.js:75)
at CatchSubscriber.error (Subscriber.js:55)
at CatchSubscriber.error (catchError.js:32)
at MergeMapSubscriber.notifyError (OuterSubscriber.js:7)
at InnerSubscriber._error (InnerSubscriber.js:14)
I've searched a bit, I've updated from angular 10 to angular 11, updated all the libraries, found quite a lot of answers on stackoverflow, including this one Angular 7 error RangeError: Maximum call stack size exceeded
But I've no idea where area would cause the issue.
I tried to comment everything on the ngOnInit
/constructor
of the page I'm on, without any success.
How can I find the rootcause of such error? I'm really lost and I don't know what to do, this just freeze my app for 10-15 seconds then crashes.
I've a firebase timeout just after this, but I guess it's because angular was to busy to handle this call-stack issue.