Angular 7: Throttling navigation to prevent the browser from hanging

Abhi picture Abhi · Apr 30, 2019 · Viewed 9.3k times · Source

Everything was working fine in my Angular application. But now suddenly I am getting the following error and my browser got stuck.

Throttling navigation to prevent the browser from hanging. See <URL>. Command line switch --disable-ipc-flooding-protection can be used to bypass the protection

What I done in last 2 days is updated npm. Run npm audit fix to fix vulnerabilities. After that I am getting this error.

enter image description here

It is looping and I cannot access my Application through browser.

I have added some code too. May be some code causes looping?

Answer

Abhi picture Abhi · Aug 7, 2019

Yes the issue is solved by refactoring a block of code that looks like going into a loop. But I didn't get this error before (its been long time) even the same code exists. Strange! May be its to deal with cache or something.