-
Notifications
You must be signed in to change notification settings - Fork 187
error tailwindcss [not found]
when generating a controller
#77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also it looks like |
I have the same error error
|
I am getting this error when using view_component generators. I noticed that @dixpac just pushed a fix that was just merged an hour ago and so I tried updating to I created a bare minimum reproduction rails app with only the tailwindcss-rails and view_component gems.
To reproduce the issue in that repo you just need to:
You'll get |
I also got this issue when generating a "resource"
I am using 7.0.0.alpha2 Scaffold works fine. |
@phanhaiquang can you create demo app that reproduces issue, since |
Generating a resource or controller works for me, but generating a viewcomponent has this error. I'm also using rails 7 alpha 2 and tailwindcss-rails 0.5.1. I'm using Ruby 3 (you have 2.7) I created my rails 7 project with |
@dixpac I am sorry for late. I tried to reproduce this issue by a new project, and it does not happen. Then, I go to my project and retry, error happen. So that I need to step by step compare 2 projects. I will let you know when I found the different that causes this. This might take a while. |
@phanhaiquang try with tailwindcss-rails 0.5.1 version, on the webapp |
@roelandmoors @rmontgomery429 thanks. |
@dixpac I use 0.5.1 version and this issue was resolved ! |
Uh oh!
There was an error while loading. Please reload this page.
Works well for scaffolding, but breaks when generating views for just a controller
My setup:
The text was updated successfully, but these errors were encountered: