Jquery 一页中的正常引导Popover和Angular应用程序-Popover不工作

Jquery 一页中的正常引导Popover和Angular应用程序-Popover不工作,jquery,angular,twitter-bootstrap,Jquery,Angular,Twitter Bootstrap,我有一个webproject,其中我使用引导主题和jquery进行服务器端渲染。到目前为止,一切正常,除了导航元素的下拉菜单不再起作用。单击下拉元素时,会引发以下错误: Uncaught错误:下拉列表:选项“popperConfig”提供了类型“window”,但应为类型“(null | object)”。 在Object.typeCheckConfig(bootstrap.min.js:6) 在c.t._getConfig(bootstrap.min.js:6) 在新c上(bootstrap.

我有一个webproject,其中我使用引导主题和jquery进行服务器端渲染。到目前为止,一切正常,除了导航元素的下拉菜单不再起作用。单击下拉元素时,会引发以下错误:

Uncaught错误:下拉列表:选项“popperConfig”提供了类型“window”,但应为类型“(null | object)”。
在Object.typeCheckConfig(bootstrap.min.js:6)
在c.t._getConfig(bootstrap.min.js:6)
在新c上(bootstrap.min.js:6)
在HTMLDEVELENT。(bootstrap.min.js:6)
在Function.each(jquery.min.js:2)
在k.fn.init.each(jquery.min.js:2)
在k.fn.init.c.jQueryInterface[作为下拉菜单](bootstrap.min.js:6)
在HTMLDEVELENT。(bootstrap.min.js:6)
在HTMLDocument.dispatch(jquery.min.js:2)
在HTMLDocument.v.handle(jquery.min.js:2)键入checkconfig@bootstrap.min.js:6 t.\u getConfig@bootstrap.min.js:6 c@bootstrap.min.js:6(匿名)@bootstrap.min.js:6 each@jquery.min.js:2 each@jquery.min.js:2 c.\u jQueryInterface@bootstrap.min.js:6(匿名)@bootstrap.min.js:6分派@jquery.min.js:2 v.handle jquery.min.js:2
只有当AngularApp包含在页面中时,才会发生这种情况。没有它就没有任何问题

Bootstrap4,JQuery 3.4.1,Angular 11.2

Jquery不包含在angular build中,而是加载在包含angular应用程序的页面中。

来源:


显然,这是bootstrap 4.4+版本的一个已知问题。如果这适合您的场景,请尝试升级到4.5()

什么版本的引导、jquery和angular?另外,jquery也被导入到您的angular dependencies中了吗?更新了infos@johntner谢谢,我刚刚更新了我的引导js库,它正在工作!
Uncaught Error: DROPDOWN: Option "popperConfig" provided type "window" but expected type "(null|object)".  
        at Object.typeCheckConfig (bootstrap.min.js:6)  
        at c.t._getConfig (bootstrap.min.js:6)  
        at new c (bootstrap.min.js:6)  
        at HTMLDivElement.<anonymous> (bootstrap.min.js:6)  
        at Function.each (jquery.min.js:2)  
        at k.fn.init.each (jquery.min.js:2)  
        at k.fn.init.c._jQueryInterface [as dropdown] (bootstrap.min.js:6)  
        at HTMLDivElement.<anonymous> (bootstrap.min.js:6)  
        at HTMLDocument.dispatch (jquery.min.js:2)  
        at HTMLDocument.v.handle (jquery.min.js:2) typeCheckConfig @  bootstrap.min.js:6 t._getConfig @ bootstrap.min.js:6 c @ bootstrap.min.js:6 (anonymous) @ bootstrap.min.js:6 each @ jquery.min.js:2 each @ jquery.min.js:2  c._jQueryInterface @ bootstrap.min.js:6 (anonymous) @ bootstrap.min.js:6 dispatch @ jquery.min.js:2 v.handle @ jquery.min.js:2