Skip to content
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

Error in "Compile initial Tailwind build" stage of "rails new" command that has --css tailwind #193

Closed
iliatalebzade opened this issue Sep 1, 2022 · 6 comments · Fixed by #197

Comments

@iliatalebzade
Copy link

when running the command rails new everything works fine until the part where this part comes:
Compile initial Tailwind build
run rails tailwindcss:build from "."
and then gives some error outputs

Capture

the other
The odd thing that's happening is that when you open the project there's a bizarre file added:

Capture2

To my knowledge, I haven't modified, installed or uninstalled any packages regarding tailwind or tailwind-rails but this command was working just fine before This happened.

@flavorjones
Copy link
Member

Hi @iliatalebzade, sorry you're having problems.

Can you please provide more information about your system? This looks like there may be some platform confusion -- ELF: not found sometimes indicates that a binary executable is being run as if it were a shell script.

@flavorjones
Copy link
Member

This may be fixed by #197.

@flavorjones flavorjones linked a pull request Sep 3, 2022 that will close this issue
@iliatalebzade
Copy link
Author

iliatalebzade commented Sep 4, 2022

Greetings, Thank you for taking the trouble to help me. I do appreciate it,
and although the issue is taken care of:
I faced this problem on two systems, both running WSL Ubuntu 20.04.4 LTS on top of Windows 10.
and one last thing I wanted to ask is although I went through #197 and understood why this might be happening,
I didn't understand the solution as to what I should do now when creating new rails apps with tailwind

@flavorjones
Copy link
Member

@iliatalebzade please wait for the next release of tailwindcss-rails and if you're still having problems, please open a new issue and we can start debugging from there.

@iliatalebzade
Copy link
Author

Gotta mention how great you guys are addressing this problem this quick, I'll wait for the next release,
thanks again for your response!

@flavorjones
Copy link
Member

v2.0.13 is out, please give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants