-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
What version of Tailwind CSS are you using?
4.1.16
What build tool (or framework if it abstracts the build tool) are you using?
Angular
What version of Node.js are you using?
v24.11.0 and 22.21.0
What browser are you using?
not relevant
What operating system are you using?
Windows 11 24H2
Reproduction URL
https://github.com/jakob0fischl/tailwind-bug
The only thing done in this repository is going through https://tailwindcss.com/docs/installation/framework-guides/angular
Describe your issue
When running ng server the dev server sometimes immediately crashes during startup, this does not happen when tailwind is not installed. Downgrading to tailwind v4.1.14 resolves the issue. Running the same project on Linux does not have this issue
PS C:\Users\jakob\Desktop\dev\tailwind-bug> pnpm run start
> tailwind-bug@0.0.0 start C:\Users\jakob\Desktop\dev\tailwind-bug
> ng serve
⠋ Building...
ELIFECYCLE Command failed with exit code 3221226356.
PS C:\Users\jakob\Desktop\dev\tailwind-bug> npm run start
> tailwind-bug@0.0.0 start
> ng serve
⠋ Building...When using npm it just stops without any error message, with pnpm there's at least an error code. I tried to reproduce it using postcss directly but didn't manage to so far. Sometimes it takes ~20 attempts to crash, sometimes it crashes 6 times in a row