Fresh install of Redwood JS + Tailwind is not working


I just tried doing a fresh installation of Redwood.js:

yarn create redwood-app ./my-app
cd my-app

And then added tailwind:

yarn rw setup tailwind   

And then based on this post I changed tailwind to the compatibility version

When I try to run the app, I get this error:

./src/index.css (../node_modules/css-loader/dist/cjs.js??ref--4-oneOf-4-1!../node_modules/postcss-loader/dist/cjs.js??ref--4-oneOf-4-2!./src/index.css) Error: [object Object] is not a PostCSS plugin

CleanShot 2020-11-18 at 20.09.42

Any idea how I can fix this?

1 Like

Hey @akiarostami, I was actually seeing the same error before changing tailwind to the compatibility version (i.e. when trying to install 2.0.1 straight-up). I’ll try the steps again on another fresh install now, but just to confirm, you ran yarn install after changing to the compatibility version?

hi @dom,

Thanks for the prompt reply, and thank you for patiently reminding me my age and forgetfulness! How could I miss that?! I can confirm that yarn install fixed the issue. Sorry!

1 Like

haha don’t worry–I literally forget all the time! I’m especially guilty of it when trying to contribute… @thedavid can attest to this: I’ll forget to yarn build or yarn install and then spend a few trying minutes wondering why it’s not working.


@dom speaks the truth