简体   繁体   English

如何解决错误; “ SyntaxError:标识符'getScrollParents'已经被声明;引导工具提示需要Tether;

[英]How to fix the Error; "SyntaxError: Identifier 'getScrollParents' has already been declared; Bootstrap tooltips require Tether;

I have tried to remove the issue by installing tether.js and utils.js, it seems when I fix one error 2 more pop up. 我试图通过安装tether.js和utils.js来消除此问题,似乎在我修复一个错误2时又弹出了。

Here is a link to a similar post but I'm having a slightly different issue, this issue that I'm having spawned out of the previous problem. 这是指向类似文章的链接,但是我遇到的问题略有不同,这个问题是我从先前的问题中衍生出来的。

Is there anything I can do? 有什么我可以做的吗? Or should I just revert back to boostrap3 还是我应该恢复为boostrap3

how to fix the error bootstrap tooltips require tether HTTP github 如何修复错误引导工具提示,需要系绳HTTP github

tether.js:1 Uncaught SyntaxError: Identifier 'getScrollParents' has already been declared
    at tether.js:1

Uncaught Error: Bootstrap tooltips require Tether (http://tether.io/)
    at bootstrap.min.js?ver=3.0.0:7
    at bootstrap.min.js?ver=3.0.0:7
    at bootstrap.min.js?ver=3.0.0:7

I found the solution 我找到了解决方案

https://forums.asp.net/t/2121600.aspx?Uncaught+Error+Bootstrap+tooltips+require+Tether https://forums.asp.net/t/2121600.aspx?Uncaught+Error+Bootstrap+tooltips+require+Tether

i changed the line 我换了线

<script src="<?php bloginfo('stylesheet_directory'); ?>/js/node_modules/tether/src/js/tether.js"></script>

to

<script src="<?php bloginfo('stylesheet_directory'); ?>/js/node_modules/tether/dist/js/tether.min.js"></script>

使用tether.min.js解决您的问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复未捕获的语法错误:标识符“翻译”已经声明 - how to fix Uncaught SyntaxError: Identifier 'translate' has already been declared 如何修复错误; '错误:Bootstrap工具提示需要Tether(http://github.hubspot.com/tether/)' - How to fix the error; 'Error: Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)' 如何修复“未捕获的语法错误:标识符‘removeVowelsAndSpaces’已被声明”在javascript中 - How to fix " Uncaught SyntaxError: Identifier 'removeVowelsAndSpaces' has already been declared " in javascript 未捕获的语法错误:标识符已被声明 - Uncaught SyntaxError: Identifier has already been declared 语法错误:标识符“客户端”已被声明 - SyntaxError: Identifier 'Client' has already been declared 未捕获的 SyntaxError:标识符 '$...' 已被声明 - Uncaught SyntaxError: Identifier '$…' has already been declared SyntaxError:标识符“嵌入”已被声明 - SyntaxError: Identifier 'embed' has already been declared 如何在没有严格模式的情况下执行 deno? 错误:未捕获的 SyntaxError:标识符“列表”已被声明 - How to execute deno without strict mode ? Error: Uncaught SyntaxError: Identifier 'list' has already been declared 如何修复错误标识符已使用 react 和 typescript 声明? - How to fix the error Identifier has already been declared using react and typescript? 未捕获的SyntaxError:标识符&#39;o&#39;已经被声明 - Uncaught SyntaxError: Identifier 'o' has already been declared
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM