why do I get this error: 'postcss' is not recognized as an internal or external command, operable program or batch file, when I use tailwindcss
Asked Answered
N

1

8

enter image description here

PS C:\Users\Chidiebere\Desktop\bookmark reack landing page> npm start

[email protected] start npm run watch:css && react-scripts start

[email protected] watch:css postcss src/assets/tailwind.css -o src/assets/main.css --watch

'postcss' is not recognized as an internal or external command, operable program or batch file. PS C:\Users\Chidiebere\Desktop\bookmark reack landing page> npm run build:css

[email protected] build:css postcss src/assets/tailwind.css -o src/assets/main.css

'postcss' is not recognized as an internal or external command, operable program or batch file. PS C:\Users\Chidiebere\Desktop\bookmark reack landing page>

Nanji answered 12/11, 2021 at 23:0 Comment(0)
V
32

Install postcss and postcss-cli

npm install postcss postcss-cli
Vellum answered 12/11, 2021 at 23:4 Comment(1)
Thank you! It has worked! I forgot to install the postcss-cli and that was whyNanji

© 2022 - 2024 — McMap. All rights reserved.