tailwindcss generate failed #3276
Replies: 1 comment
-
I ran into the same issue, and it turns out the problem can be in either the tailwind.css or tailwind.config.js files. Here’s what worked for me: |
Beta Was this translation helpful? Give feedback.
-
How can I resolve the following error without needing to comment out the line //tailwindcss: {}, in the .umirc.ts file?
bash
Copiar código
info - [plugin: ./node_modules/@umijs/plugins/dist/tailwindcss] tailwindcss service started
info - [icons] generate icons local:google, local:github
Debugger attached.
error - [plugin: ./node_modules/@umijs/plugins/dist/tailwindcss] tailwindcss generate failed after 5 seconds, please check your tailwind.css and tailwind.config.js
Rebuilding...
I managed to work around this by commenting out the tailwindcss: {} line in .umirc.ts, but I would like to know if there's a way to fix it without removing that configuration.
Beta Was this translation helpful? Give feedback.
All reactions