Tailwindcss Error

Hi Redwood community,

I’m wondering if someone would be able to take a look at an error I’m getting when trying to install tailwind?

I’m using the yarn rw setup tailwind command on a brand new Redwood project, but it’s not compiling for some reason. I did do yarn install as well.

Here is the error I’m getting:

Likely something in my setup, but would appreciate if anyone could point me in the right direction.

Thanks,
Connor

I answered my own question :grin:

Followed this tailwind doc to updated from PostCSS 7 to PostCSS 8: https://tailwindcss.com/docs/installation#post-css-7-compatibility-build. Everything is working as expected now.

1 Like

Nice! Do we need to update the setup generator so others don’t get this error in the future?

@ajcwebdev The fix is already queued up for the next release:

3 Likes

This is my first rodeo so correct me if I’m wrong but wouldn’t this be a good candidate for a patch fix instead of a minor version? I know Peter has done a few in the past but I think those were situations where he introduced the bug. I’ve always been a little hazy on these finer points of SemVer.