lustre-labs / dev-tools

Lustre's CLI and development tooling: zero-config dev server, bundling, and scaffolding.
45 stars 15 forks source link

Lustre dev tools can't find tailwind binary for aarch64/arm64 #59

Closed SaphiraKai closed 1 month ago

SaphiraKai commented 1 month ago

Should be an easy fix!

Running gleam run -m lustre/dev build in my project on a Raspberry Pi 4 results in an error message:

❌ Detecting platform

I ran into a problem trying to download the tailwind binary. I couldn't find a
compatible binary for the following platform:

    OS: linux
    CPU: aarch64

You may be able to build the binary from source and place it at the following
path:

    ./build/.lustre/bin/tailwind

If you think this is a bug, please open an issue at
https://github.com/lustre-labs/dev-tools/issues/new with some details about what
you were trying to do when you ran into this issue.

However, there is a Tailwind binary available for linux aarch64 here- it's just named tailwindcss-linux-arm64 rather than tailwindcss-linux-aarch64.

Downloading that, making it executable, and moving it to ./build/.lustre/bin/tailwind fixed the problem for me.