TypeError: Module name, 'popper' does not resolve to a valid URL
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 38/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rails, ruby
- Domain
- devtools, documentation
Research direction
Start with the README setup instructions and the reported Rails 7.2.1 import-map configuration for Bootstrap 5.3.3. Reproduce the browser-console error, compare the two Popper pin forms, and update the README only if the alternate configuration consistently resolves it.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- SCSS
- Stars
- 2k
- Forks
- 437
- Avg merge
- 1h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from twbs/bootstrap-rubygem
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
twbs/bootstrap-rubygem#294 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
twbs/bootstrap-rubygem#291 · 2 comments · 7 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
twbs/bootstrap-rubygem#288 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
twbs/bootstrap-rubygem#284 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
twbs/bootstrap-rubygem#280 · 1 comment · 1 reaction ·
All issues in twbs/bootstrap-rubygem
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
rubygems/rubygems.org#6895 ·
Maintainers usually reply within 1 day
-
enhancement good first issue hacktoberfest size/medium up-for-grabs
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Redo-San/RedoSan-Authenticity#507 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
petercorke/robotics-toolbox-python#709 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cline/mcp-marketplace#2750 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
anthropics/claude-agent-sdk-python#1353 ·
Maintainers usually reply within 1 day