Skip to content

bug: npx tailwindcss broken due to tailwind changes#18

Open
christian-korneck wants to merge 1 commit intotemplui:mainfrom
christian-korneck:fix-npx-tailwindcss
Open

bug: npx tailwindcss broken due to tailwind changes#18
christian-korneck wants to merge 1 commit intotemplui:mainfrom
christian-korneck:fix-npx-tailwindcss

Conversation

@christian-korneck
Copy link
Copy Markdown

@christian-korneck christian-korneck commented Mar 20, 2026

running task tailwind is broken with the npx <tailwindcss> code path (fallback when the standalone tailwindcss cli is not installed). It's broken due to changes on the tailwind side. This fixes it.

@christian-korneck christian-korneck changed the title bug: npx tailwindcss was broken due to tailwind changes bug: npx tailwindcss broken due to tailwind changes Mar 20, 2026
@axadrn
Copy link
Copy Markdown
Member

axadrn commented Mar 23, 2026

Thanks for fixing this. I’m not sure we want to trigger a local npm install in this repo at all. I’d rather either rely on the standalone CLI only, or use npx @tailwindcss/cli directly as the fallback. That keeps Node artifacts out of the project, means we don’t need the extra .gitignore entries, and keeps the setup cleaner.

@christian-korneck
Copy link
Copy Markdown
Author

or use npx @tailwindcss/cli directly as the fallback

That doesn't work unfortunately. Only the standalone cli bundles the tailwindcss js library these days. If you want to run tw via npx, you'd need to npm install (as in my PR).

The cleanest way would probably to remove the npx fallback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants