Angular 9/10 TypeError无法读取未定义at_webpack_require_bootstrap:79的属性“调用" [英] Angular 9/10 TypeError Cannot read property 'call' of undefined at_webpack_require_bootstrap:79

查看:42
本文介绍了Angular 9/10 TypeError无法读取未定义at_webpack_require_bootstrap:79的属性“调用"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将@ angular/material/dialog添加到may应用程序时,出现此错误.我可以运行该应用程序,但不会加载该对话框,并且在控制台中出现以下错误:我尝试从Angular 9升级到10,但遇到了同样的问题.我也在另一个应用程序中尝试了此操作,并且发生了完全相同的事情.

I am getting this error when I added @angular/material/dialog to may application. I can run the app but the dialog won't load and I get the following error below in the Console: I tried upgrading from Angular 9 to 10 but get the same issue. I also tried this in another app and the exact same thing occurred.

推荐答案

我升级了引导程序,这似乎可以解决...

I upgraded bootstrap and this seemed to solve it...

这篇关于Angular 9/10 TypeError无法读取未定义at_webpack_require_bootstrap:79的属性“调用"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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