Difficulty installing Tailwindcss v3 on my computer system

Hey there,
Due to some positive feedback on how good tailwindcss is, I decided to learn it this month.

So I try to get the installation started using their official docs but I get this error when I run “npx tailwindcss init”

NB: I have also tried to clean npm cache but still no difference

The errors are as shown below:

That error appears to be caused because the peer dependency postcss has not been installed. In npm some packages include dependencies and others expect that dependency too already exist on the environment. Using peer dependencies instead of packaging dependencies results in less conflicts, smaller packages, and less repetition.

I think there might be a typo in the docs instead postcss should be the first package that is installed.

I’ve never heard of this package until today so this is just based on my initial look at the docs.

1 Like

Tailwind css does look pretty cool. I think I might be adding that to my own personal project to orchestrate micro-frontends and cms content. That would be perfect to allow people add css without needing perhaps a more complex approach.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.