-
Notifications
You must be signed in to change notification settings - Fork 4.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Tailwind CSS not working in WSL #10244
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
Hey! You are getting an error because you are on a 32-bit system and installing / running a 64-bit binary. We do not compile binaries for 32-bit linux because Unfortunately, I don't have a workaround other than using a 64-bit system because building a binary for 32-bit linux isn't possible currently. |
Hi, @thecrypticace I'm actually using a 64-bit system. Linux LAPTOP-O1H43SIF 4.4.0-22621-Microsoft #608-Microsoft Fri Jan 01 08:00:00 PST 2016 x86_64 x86_64 x86_64 GNU/Linux |
@thisisrishabh22 What about your windows installation? Is it 32-bit and emulating 64-bit linux? The Can you provide output from the following two commands in WSL?
|
I'm using a windows 11 machine with a Here are the output for the commands:
./tailwindcss-linux-x64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
/bin/ls: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=2f15ad836be3339dec0e2e6a3c637e08e48aacbd, for GNU/Linux 3.2.0, stripped |
@thisisrishabh22 What happens if you download the binary directly from our releases page? Can you run that one?
|
I've tried running the binary file directly from the releases page as well. |
The only difference that I can discern between my WSL installation and yours is the kernel version. I'm apparently running kernel 4.19 whereas you are on 4.4. I don't know if there's maybe a bug there. But seems unlikely. What shell are you using? |
I'm currently using zsh and while running zsh: exec format error: ./tailwindcss-linux-x64 |
I'm not sure what's going on here. Whatever this is it has something to do with your install of WSL not recognizing some ELF binaries which is very strange. Ultimately, I don't know that there's anything we can do to fix this since I can confirm that the binary runs fine on WSL and other linux x64 systems. Do you have Discord? Any chance you could pop in our help channel and @-mention me there? https://tailwindcss.com/discord |
Yes, I've discord with me, I'll ping you there! |
Gonna move this to discussions as it's almost certainly a environment based problem and not a problem with our binaries and the discussion is continuing in Discord until we track down the source of the problem anyway. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
What version of Tailwind CSS are you using?
I'm using the gem tailwindcss-rails which has tailwindcss v3.2.4
What build tool (or framework if it abstracts the build tool) are you using?
I'm not using any build tool since I'm using Rails 7 with import maps.
What version of Node.js are you using?
v16.17.0
What browser are you using?
Firefox
What operating system are you using?
WSL Ubuntu 20.04
Reproduction URL
tailwind-rails-bug
Describe your issue
I'm trying to use tailwindcss in my rails app using the official documentation, but unable to run the app since tailwindcss is not working in my WSL system. I opened an issue Help with tailwindcss-rails setup, the team informed me to open a bug report since the binary file is causing the problem.
The text was updated successfully, but these errors were encountered: