Skip to content

Tailwind v4 build fails whether tailwind.config.js is present or not #105

@Moonlight4940

Description

@Moonlight4940

I'm using Symfony 7, AssetMapper, Flowbite(flowbite/dist/flowbite.css) and symfonycasts/tailwind-bundle with Tailwind CSS v4 (+ Windows + VS Code).
problem :
symfony console tailwind:build command fails

  • When tailwind.config.js is present, the error is "Failed to find 'tailwind utilities'".
    
  • When tailwind.config.js is removed/renamed, the error is "Specified config file ... does not exist."
    symfony console tailwind:build >>>> [ERROR] Tailwind CSS build failed: see output above.

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