-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostCSS / Autoprefixer versions are currently throwing errors #1170
Comments
I also ran into this issue today and the solution was to downgrade to:
Should:
|
Hum the downgrade is not working for me, here's my outdated print:
RW is v0.19.0 and I had installed Tailwind through the utility at project setup. Any chance there could be a bit more to it? |
@noire-munich my working configuration in v19 is
I don't think I saw that combination in your list. |
Indeed, it moved forward on css but the svg loading is down - different issue though. |
@dthyresson Should this be closed? |
Sorry, no. I closed the wrong issue. Reopening to determine the next steps:
or
|
Sorry for knocking the door again, but it seems like this is broken again. Doing a fresh The version of "tailwindcss" installed is now I just found out about tailwind during the process of redwood tutorial and trying it out, so I can't say I know much about both projects. I'm just hoping the setup goes smoothly as the originally intended. Thanks. |
Hi @jangxyz I'll try to reproduce with a fresh install of Here is a community post with some info on the upgrade from v1 to v2 for existing RWJS projects -- and how to use TailwindUI as well: https://community.redwoodjs.com/t/upgrading-to-tailwindcss-v2/1472/8 |
@jangxyz @thedavidprice and @jtoar I realized what the issue is: Need to use:
as noted in https://community.redwoodjs.com/t/upgrading-to-tailwindcss-v2/1472. @jangxyz If you switch your web package.json to:
and yarn ... it should work again. And it looks like @jtoar already fixed this in the next release: I think we can keep this issue closed and direct people to the forum post until the next release. |
It looks like there are some issues with the combination of the most recent versions of PostCSS and Autoprefixer. New Redwood projects install PostCSS 7, and the instructions for installing Tailwind result in the newest version of Autoprefixer being installed (currently v10). There's a compatibility issue between these versions.
The current recommendation seems to be install Autoprefixer v9. This fixed the error for me. (It was throwing
Error: true is not a PostCSS plugin
).There's a relevant issue here.
The text was updated successfully, but these errors were encountered: