Cannot find module '@tailwindcss/postcss' #16067
Replies: 5 comments 4 replies
-
Same here, my CI is complaining the file doesn't exist |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Somehow the I switched to |
Beta Was this translation helpful? Give feedback.
-
To anyone that found this issue: If you got here because you are having this issue on nextjs 15 - maybe you were doing something similar than me. I was porting my TW (v3) config from a project into a fresh nextjs15 one. It automatically comes with a You can remove that one if you intend to keep your v3 setup the same, you only need the |
Beta Was this translation helpful? Give feedback.
-
I came across this when creating a mono repo using shacn/ui with pnpm https://ui.shadcn.com/docs/monorepo, |
Beta Was this translation helpful? Give feedback.
-
I'm building a custom Angular library to encapsulate DaisyUI (which requires Tailwind to be set up). I created the library using Angular CLI with the command:
ng generate library daisy-ui
After that, I followed the instructions from this section of the Tailwind documentation: Tailwind Angular Framework Guide. However, when I try to build the application, I encounter the following error:
Cannot find module '@tailwindcss/postcss'.
Has anyone else faced this issue? I've seen plenty of troubleshooting guides for earlier versions of Tailwind, but there’s very little available for the current version. I'm not sure what I might be doing wrong to resolve this.
Beta Was this translation helpful? Give feedback.
All reactions