i was facing the same issue installing tailwindcss and postcss with vite but i was able to fix this issue by adding the tailwind.config.ts file manually and filling in the required information then i added the tailwindcli in my project with the command given above