随机获得zone.js中超出的最大调用堆栈大小 [英] Randomly getting Maximum Call Stack Size Exceeded in zone.js

查看:56
本文介绍了随机获得zone.js中超出的最大调用堆栈大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用Bugsnag,我在日志中随机看到此错误

We're using Bugsnag and randomly I see this error in our logs

我们使用的是Angular 6.1.1,我们正在使用启用了优化和构建优化的生产构建.使用最新版本的zone.js 0.8.26.

We're on Angular 6.1.1, and we're using production build with optimization and build-optimization enabled. Using zone.js 0.8.26 which is currently latest version.

我该如何调试?

推荐答案

您必须找到一种方法来重现此错误,之后您可以尝试降级zone.js版本,尝试临时删除第三方库(WS库) ,bugsnap本身,可能正在使用高级浏览器功能和原型补丁的所有其他库),请确保先加载zone.js,然后放松uglify-js设置.另外,您可能对> https://github.com/angular/zone.js/Issues/900 .

You have to find a way to reproduce this error, after that you can try to downgrade zone.js version, try to temporary remove third party libraries (WS libraries, bugsnap itself, all other libraries that might be using advanced browser features and prototype patches), ensure that zone.js is loaded first, relax uglify-js settings. Also you may be interested in https://github.com/angular/zone.js/issues/900.

这篇关于随机获得zone.js中超出的最大调用堆栈大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆