Skip to content

tailwind v4 with parcel installation method is broken #15777

Answered by wongjn
vijaykrishnan1003 asked this question in Help
Discussion options

You must be logged in to vote

I've just tried it out. Tailwind's automatic source detection will scan node_modules and find these invalid class-candidate look-alikes in the node-addon-api npm package and then ends up building some invalid CSS, causing the error.

You can work around this by adding a .gitignore to the root of the project that ignores node_modules.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@wongjn
Comment options

Answer selected by vijaykrishnan1003
@vijaykrishnan1003
Comment options

@vatshal1
Comment options

@wongjn
Comment options

@vatshal1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants