-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Failed to Compile Syntax Error - 1.16.2 and Tailwind 3 #329
Comments
I think this is related to a question I just asked ( #328 ) lol. |
@zenhorace @MxD-js Can you please provide an example github repo so I can reproduce this issue? |
Sure, here's the repo. https://github.com/MxD-js/my-project-tailwind-daisyui I cloned your sample project and get the same result, worth noting that I am node v16.13.1 and npm 8.1.2 |
Same error |
not sure this specifically has anything to do with tailwind 3 or DaisyUI specifically. It seems this issue is related to the I don't get why it's flaring up just now with tailwind 3 though... |
Can you please upgrade to latest version ( |
negative, 1.16.4 does not fix it, although I am not noticing the space like mentioned by @zenhorace |
Fixed in latest version |
Thanks for being so prompt with this fix! Ordinarily I'd try to suggest a fix myself but I'm traveling. |
Yep, confirmed working 1.16.5, thanks @saadeghi and @zenhorace |
Thanks, confirmed works for me too. |
Hey All,
I get this error when I run
npm run build
I followed this tailwind guide to create a fresh react project,
if I remove
require("daisyui")
fromtailwind.config.js
then running npm run build, the project builds just fine but breaks when I add daisyui in the plugins sectionMy package.json
The text was updated successfully, but these errors were encountered: