Bootstrap:未捕获的类型错误:无法读取未定义的属性“fn" [英] Bootstrap: Uncaught TypeError: Cannot read property 'fn' of undefined
本文介绍了Bootstrap:未捕获的类型错误:无法读取未定义的属性“fn"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 Bootstrap 制作一个 Electron 应用程序.我收到此错误消息:
未捕获的类型错误:无法读取未定义的属性fn"在 setTransitionEndSupport (bootstrap.js:122)在 bootstrap.js:199在 bootstrap.js:201在 bootstrap.js:9在 bootstrap.js:10
我在 package.json 中的依赖项是:
依赖项":{"引导程序": "^4.1.2","电子": "^2.0.5","jquery": "^3.3.1","popper.js": "^1.14.3"}
我的 index.html 文件是:
<头><meta charset="UTF-8"><title>发布管理报告</title>头部><身体><div class="容器"><h1>自举测试</h1><p>我们正在使用节点<script>document.write(process.versions.node)</script>,Chrome<script>document.write(process.versions.chrome)</script> 和 Electron<script>document.write(process.versions.electron)</script>.</p>
<script src="node_modules/jquery/dist/jquery.min.js"></script><script src="node_modules/popper.js/dist/umd/popper.min.js"></script><script src="node_modules/bootstrap/dist/js/bootstrap.js"></script>