我的 Angular 应用程序一切正常。但是现在突然出现以下错误,我的浏览器卡住了。
Throttling navigation to prevent the browser from hanging. See
<URL>
. Command line switch--disable-ipc-flooding-protection
can be used to bypass the protection
我最近 2 天所做的是更新 npm。运行 npm audit fix
修复漏洞。之后我收到此错误。
它正在循环,我无法通过浏览器访问我的应用程序。
我也添加了一些代码。可能是某些代码导致循环?
最佳答案
是的,通过重构看起来像进入循环的代码块解决了这个问题。但是我之前(已经很长时间了)没有得到这个错误,即使存在相同的代码。奇怪的!可能是它处理缓存什么的。
关于 Angular 7 : Throttling navigation to prevent the browser from hanging,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55925936/