Uncaught Error: Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)

Bootstrap4系

問題発生

 状態:-  閲覧数:3,653  投稿日:2016-01-15  更新日:2016-01-15
Chromeコンソール画面に下記エラーメッセージが表示される
Uncaught Error: Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)


取り敢えずの対応


修正前
<script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.min.js"></script><!-- Bootstrap --> 


修正後
・bootstrap.min.jsの前に、tether.min.jsを読み込む
script src="https://www.atlasestateagents.co.uk/javascript/tether.min.js"></script><!-- Tether for Bootstrap --> 

<script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.min.js"></script><!-- Bootstrap -->


・もしくは、Tetherよりダウンロード後、読込

bootstrapスクリプトが、tetherオブジェクトを見つけることが出来ないときに発生するエラー

 閲覧数:862 投稿日:2016-01-15 更新日:2016-01-15
bootstrapスクリプトが読み込まれる際、tetherオブジェクトを見つけることが出来ないために発生するエラーだと思います。bootstrap.min.jsをインクルードする前に tether.min.jsスクリプトをインクルードしてみてください
I think you're getting the error because when the bootstrap script loads, it's unable to find the tether object. Try including the tether.min.js script before you include the bootstrap.min.js script.
How to fix the error; 'Error: Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)'

Bootstrapツールチップを使用していなくて、Tetherを含めたくない場合は、Bootstrapのtooltip.jsを排除する必要があります。

 閲覧数:801 投稿日:2016-01-15 更新日:2016-01-15
あなたがBootstrapツールチップを使用していなくて、Tetherを含めたくない場合は、Bootstrapのtooltip.jsを排除する必要があります(これは連結されたデフォルトのbootstrap[.min].jsファイルを使用しないことも意味します)。
If you're not using Bootstrap tooltips and don't want to include Tether, then you'll need to exclude Bootstrap's tooltip.js (which may mean not using the default concatenated bootstrap[.min].js file).
`Bootstrap tooltips require Tether` error is logged to console when not using tooltips

対応 & 感想

 閲覧数:700 投稿日:2016-01-15 更新日:2016-01-15

Bootstrapツールチップを使用しないのに、Tetherを読み込んだ理由


Bootstrap4正式リリース前なので
・bootstrap.min.jsは、正式リリースに伴い今後差し替えが予想される
・その度に、自分で圧縮化するのが面倒なので


対応バージョンが不明


v1.1.1
・最新版のv1.1.1を読み込んだら、エラー表示が消える

今後について
・双方バージョンアップした場合、その整合性はどうなるのだろう? という疑問が湧いた


The key "shrink-to-fit" is not recognized and ignored.

Bootstrap 4 Cards の card-columns 表示順序は、上から下のみ。左から右へは変更不可 



週間人気ページランキング / 4-29 → 5-5
順位 ページタイトル抜粋 アクセス数
1 CSSだけで、任意の要素に配置した画像を画面一杯に表示することは、基本的には出来ない。「img src」「背景画像」「div要素」何れの場合でも。可能なのは、特殊な要件が重なった場合だけ | CSS 11
2 Illustratorでaiファイルを保存する際、下位バージョンでも開けるよう保存する | Illustrator CS3(Illustrator) 9
3 RGBの種類 / ビットカラー | RGB(色) 6
4 RGB ⇔ Lab | 色変換(色) 4
4 画像縦横比の問題 | 画像 4
4 キャラクター無料作成ジェネレーター / FLASH / オンラインサービス | イラスト参考(デザイン) 4
4 ログイン 4
5 「属性」「プロパティ」「アトリビュート」の違い | CSS 3
5 max-width: 100%の効果を打ち消すには、max-width: none; | CSS 3
5 Adobe Camera Raw 4.0 | Photoshop 3
5 Material Design 2014 年 | Material Design(色) 3
5 Design 0 3
6 RGB | 色 2
6 問題発生 / 方法は2種類 / CSS対応時の注意点 2
6 謎の現象 / 「Photoshop CS」と「Photoshop CCでは」では扱いが異なる /「PhotoShop CS3」で「Camera Raw 4.0」を起動するには? 2
6 SVG(画像) カテゴリー 2
6 #0000CDは群青色ではない? | 色 2
6 テーブル枠線がどうしても消えない時は「border-collapse: collapse;」 | Backgrounds and Borders Module(CSS) 2
6 ICCプロファイル | カラーマネージメント(色) 2
6 Braveインストールしてみたけれども、全ての広告を必ず非表示に出来るわけではないみたい | Brave(ブラウザ) 2
2026/5/6 5:06 更新