-
Notifications
You must be signed in to change notification settings - Fork 4.5k
@tailwindcss/vite v4.0.1
not working Cannot read properties of undefined (reading 'includes')
#16045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@peterhirn Hey! Sorry for the crash. Can you maybe share your dependency list so we can try to get a repro going? We can make this field nullable so it doesn't crash but based on the Vite typings, |
Hey, thanks for looking into this. ❤️ This is one of the projects which fail at runtime (ie. |
Seems like this happens with a SolidStart app. For some reason when using that we get a Only happens in dev builds from what I can see too 🙈 |
Thanks! SolidStart and TanStack Start are based on https://github.com/nksaraf/vinxi which is ... special 😁 |
Just a quick head-sup that this will be fixed in the next release. You can try to use the insiders build which will have the fix available already:
|
Great, thanks. I'm currently blocking the renovate automerge for v4.0.1 since v4.0 works fine. Another thing I didn't mention yet: file auto-detection doesn't seem to work with SolidStart, I had to go back to explicit config: https://github.com/phi-ag/rvt-app/blob/main/tailwind.config.js#L7 I'll re-test this with the next release and open a new issue if necessary. |
Sounds good! Yeah I did find another issue with SolidStart that was causing the dev server to not work as expected. Let me know if there are still issues though! |
Thank you very much for such a prompt fix! |
What version of Tailwind CSS are you using?
v4.0.1
What build tool (or framework if it abstracts the build tool) are you using?
@tailwindcss/vite
What version of Node.js are you using?
v23.6.1
What browser are you using?
All
What operating system are you using?
Linux
Reproduction URL
I understand that reproduction is required, I just don't have the time right now, sorry. Since this issue is extremely obvious I hope you can do without.
Describe your issue
Since there was only a single commit between 4.0 and 4.0.1 I assume the issue is this:
https://github.com/tailwindlabs/tailwindcss/pull/16005/files#diff-00d01a2d38f5f4253651cf9811eab1182c96f0307e78c567b803416e24b98165R70
The text was updated successfully, but these errors were encountered: