Open ssenthilanand opened 1 day ago
Hi @ssenthilanand , thanks for this. I haven't been on Windows for over 20 years, so I have no idea how things work there. :) I usually focus on getting things working on Mac and Linux, since that covers my personal case as well as the typical production deployment (if not using Docker, like here).
I'm not sure how WSL works, I think you should be able to use the TailwindCSS CLI with linux-x64 or whatever your architecture is?
The rest is because your bundled Go version is indeed too old. The project Go version can be seen inside the go.mod
file.
I have not done Go beyond Hello World. Saw this on HN and decided to try out. I decided to clone the project from the command line. On running make start
In Windows it tries to download macOS version of tailwindcss and obviously fails. I check the Makefile and find it does not support Windows. I tried changing the TAILWINDCSS_OS_ARCH to Windows specific bits and it does not work.
On Debian running under WSL, after uncommenting the linux-x64 line, the build goes normally but then errors out with the following error:
I was running go from the Debian repositories.
I then downloaded the latest go from go.dev and installed it. Now everything works correctly.
IMHO you should mention somewhere that Windows is not supported and also the minimum go version the project needs.