themesberg / themesberg/flowbite
Rails 7: Error: Cannot find module 'flowbite/plugin'
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 862
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
I was running Rails 7.0.4 and an outdated version of tailwindcss-rails, followed the instructions from the documentation and got the error described in the title
I decided to update the version of tailwindcss-rails to try and resolve it that way, at which point I got a new error which you can find described here..
(I eventually uodated everything so am now on Rails 7.0.8)
It seems there is an issue resolving the plugin and I am not sure what to do to try and resolve it. Any suggestions would be appreciated.
Expected behavior
The plugin would load and I would be able to boot my rails 7 app and use flowbite.
Desktop (please complete the following information):
- OS: Intel MacOS 14.0
Additional context
Add any other context about the problem here.
Contributor guide
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.
Research direction
Start with the Rails 7.0.4 setup, the documented Flowbite installation instructions, and the tailwindcss-rails versions involved. Compare the “flowbite/plugin” module-resolution error with the newer error in discussion #269. Done means identifying the compatible setup or documenting the required resolution for booting the Rails app with Flowbite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, tailwindcss
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100