流星无法设置属性emulateTransitionEnd引导程序

时间:2018-07-19 00:04:56

标签: javascript meteor twitter-bootstrap-3 bootstrap-4

我正在使用meteor run命令通过命令行运行流星。目标是能够手动运行带有流星的引导程序。 Bootstrap在Leaderboard.js中被引用。我已将以下链接(https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js)复制并粘贴到Leaderboard.js文件中以供使用。

文件结构: 流星-> leaderboard-> leaderboard.html / leaderboard.js / leaderboard.css

以下错误消息如下。

TypeError: Cannot set property 'emulateTransitionEnd' of undefined
at leaderboard.js:18:2691
at leaderboard.js:18:1502
at leaderboard.js:18:69
at leaderboard.js (leaderboard.js:18:2)
at fileEvaluate (packages\modules-runtime.js:343:9)
at require (packages\modules-runtime.js:238:16)
at C:\meteor\leaderboard\.meteor\local\build\programs\server\app\app.js:5728:1
at C:\meteor\leaderboard\.meteor\local\build\programs\server\boot.js:411:36
at Array.forEach (<anonymous>)
at C:\meteor\leaderboard\.meteor\local\build\programs\server\boot.js:220:19
at C:\meteor\leaderboard\.meteor\local\build\programs\server\boot.js:471:5
at Function.run (C:\meteor\leaderboard\.meteor\local\build\programs\server\profile.js:510:12)
at C:\meteor\leaderboard\.meteor\local\build\programs\server\boot.js:470:11

流星列表:

accounts-password            1.5.1  Password support for accounts
blaze-html-templates         1.1.2  Compile HTML templates into reactive UI with Meteor Blaze
check                        1.3.1  Check whether a value matches a pattern
ecmascript                   0.10.8* Compiler plugin that supports ES2015+ in all .js files
es5-shim                     4.7.3* Shims and polyfills to improve ECMAScript 5 support
ian:accounts-ui-bootstrap-3  1.2.89  Bootstrap-styled accounts-ui with multi-language support.
meteor-base                  1.3.0* Packages that every Meteor app needs
mobile-experience            1.0.5  Packages for a great mobile user experience
mongo                        1.4.7* Adaptor for using MongoDB and Minimongo over DDP
reactive-var                 1.0.11  Reactive variable
session                      1.1.7  Session variable
shell-server                 0.3.1  Server-side component of the `meteor shell` command.
standard-minifier-css        1.4.1  Standard css minifier used with Meteor apps by default.
standard-minifier-js         2.3.4  Standard javascript minifiers used with Meteor apps by default.
stylus                       2.513.14  Expressive, dynamic, robust CSS
tracker                      1.1.3* Dependency tracker to allow reactive callbacks

0 个答案:

没有答案