TypeError: Module name, 'popper' does not resolve to a valid URL
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 38/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rails, ruby
調査の方向性
README のセットアップ手順と、Bootstrap 5.3.3 に対して報告されている Rails 7.2.1 の import-map 設定から始めます。ブラウザーコンソールのエラーを再現し、2 つの Popper の pin 形式を比較して、代替設定で一貫して解決できる場合にのみ README を更新します。
索引モデルが issue の本文から書いたものです。
説明
Having followed the setup instructions in the README, this error message appears in the browser console when loading each page: TypeError: Module name, 'popper' does not resolve to a valid URL.
Didn't found a similar issue in the repo.
Current setup is:
Rails 7.2.1
gem bootstrap 5.3.3
In the import map I've used:
pin "@popperjs/core", to: "popper.js", preload: true
I've seen in a gist another configuration that seems to solve the issue:
pin "popper", to: 'popper.js', preload: true
If this is reproducible in other envs, perhaps the README should be updated to include this configuration.
- 主要言語
- SCSS
- スター
- 2k
- フォーク
- 437
- 平均マージ
- 1時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
twbs/bootstrap-rubygem のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
twbs/bootstrap-rubygem#294 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
twbs/bootstrap-rubygem#291 · コメント 2 件 · リアクション 7 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
twbs/bootstrap-rubygem#288 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
twbs/bootstrap-rubygem#284 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
twbs/bootstrap-rubygem#280 · コメント 1 件 · リアクション 1 件 ·
twbs/bootstrap-rubygem の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
typelevel/sbt-typelevel#929 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
antfu-collective/icones#398 ·