Help with Tailwind transformation error

Sorry if it looks a bit offtopic.
css.TailwindCSS Pipe works perfectly locally, however i cannot get it working with Netlify:
ERROR TAILWINDCSS: failed to transform “/css/main.css” (text/css). You need to install TailwindCSS CLI. See https://gohugo.io/functions/css/tailwindcss/: binary with name “tailwindcss” not found using npx

Any advices on this matter?

Netlify by default runs npm ci before building, so the simplest way is to have Tailwind defined in your package.json:

1 Like

thank you, bep

1 Like