I am facing error while isntalling Tailwind css in react. https://v2.tailwindcss.com/docs/guides/create-react-app
But in the third step while installing Craco I am facing various error. I am doing it step by step and done around 4-5 times.
I have used npm install @craco/craco
I have used npm install @craco/craco --save as seen in stackoverflow
Try this or update your react scripts to support craco
npm install @craco/craco@v7.0.0-alpha.0
Hope this works
Update the scripts in package.json then run
npm install @craco/craco --legacy-peer-deps
and
npm install @craco/craco@5.8 --save