@nuxtjs/tailwindcss: 4.0.1
nuxt: 2.15.3
node: 14.15.4
npm: 7.5.4
N/A
Create a fresh Nuxt project with version 2.15.3 (I used npm init nuxt-app nuxt-tailwind2-test). Then follow steps from https://tailwindcss.nuxtjs.org/setup to install TailwindCSS
Running npm run dev should start the tailwind viewer at http://localhost:3000/_tailwind/
I'm getting the error message Cannot find module 'tailwindcss/resolveConfig' when running npm run dev. Tailwind CSS compilation and Nuxt dev server works though.

The error doesn't appear if I set viewer: false for tailwind in the nuxt.config.js
Update:
This seems to have something to do with npm. I saw that the sandbox was using yarn and I couldn't reproduce the error there. Tried using yarn on my local machine and it worked there as well.
@Atinux: Would you generally advise against using nuxt with npm? I see in the nuxt docs that yarn is the "first class citizen" shown for the guides and I'm wondering if this is just a matter of taste or if you would advise me to run existing and new nuxt projects with yarn.
Can you tell that when running npm install tailwindcss it works?
Can you tell that when running
npm install tailwindcssit works?
Yes, then it works. 馃憤馃徎
@pi0 Your fix is merged in v1.5.1
Most helpful comment
Can you tell that when running
npm install tailwindcssit works?