Skip to content

illegal hardware instruction running tailwind since version 4 on Mac #18339

Open
@digitalcohesion

Description

@digitalcohesion

What version of Tailwind CSS are you using?

3.4.16 works fine
4.0.0-beta.5 and 4.1.10 both fail with an illegal hardware instruction error

What operating system are you using?

For example: macOS sequoia on a 2012 MacBook Pro

Reproduction URL

The error is produced by simply running the tailwindcss-macos-x64 binary

Describe your issue

I ran into a problem first when testing the latest release candidate of Phoenix LiveView. Projects were failing to compile with a tailwind exited with 132 error. It was suggested on the elixir forums I should test the tailwind binary directly.

I downloaded the latest 3.6.14 release and ran it. It runs fine and shows the usage and options. Then I tested the latest 4.1.10 and it fails to run with an illegal hardware instruction error. I then tested the earliest release of 4 I could find on github and it also failed with an illegal hardware instruction error.

As a sanity check I set up a debian 12 vm on my MacBook Pro and downloaded the 4.1.10 version for linux-x64 and it runs fine in the VM so it seems to be something specific about the way the Mac version is built and not an inherent need for a particular hardware instruction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions