tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Cannot read properties of null (reading '__isOptionsFunction')

Open jcbbb opened this issue 3 weeks ago • 0 comments

What version of Tailwind CSS are you using?

v3.4.3

What build tool (or framework if it abstracts the build tool) are you using?

Nuxt 3.11.2, @nuxtjs/tailwindcss 6.12.0, @shuriken-ui/next 3.1.5, @shuriken-ui/tailwind

What version of Node.js are you using?

v20.12.2

What browser are you using?

Chromium, Firefox

What operating system are you using?

Ubuntu, MacOS

Reproduction URL

https://github.com/jcbbb/tw-repro

Describe your issue

For some reason, resolveConfig.js is throwing Cannot read properties of null (reading '__isOptionsFunction') error, and I am not really sure if it's tailwindcss error or the libraries that I added. The screenshot below shows where the error is coming from. For some reason, plugins array contains null values. I tried to patch it myself by filtering out null values, but then classes are not being generated :(

image

Let me know if I should provide more info

jcbbb avatar Apr 25 '24 05:04 jcbbb