I had the same issues and I realized that all I needed was to downgrade from v4 to v3
npm install tailwindcss@v3
npm install -D tailwind-scrollbar@3
That's it!