-
Notifications
You must be signed in to change notification settings - Fork 7
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
XWind: Cannot read property 'theme' of undefined for nextjs 11 #31
Comments
I'm encountering the same issue while trying to deploy this microservices example auction site: https://github.com/JarrodMalkovic/auction-website Specifically the front-end module fails to render the homepage with: |
Downgrading Tailwind to 2.1.4 worked for me. So there must be something introduced between 2.1.4 and 2.2.16 that is breaking. |
Thanks, man! I tried everything and no good thing happened, this one solved my issue. |
@IngoVals do you have any suggestion for this error ? I tried to upgrade and downgrade the version of Tailwind library and I had the same error. |
@ramcics did you find a good solution for this ? |
Yes, finally I added this block of code the tsconfig.json: |
@ramcics I tested with the changes you mentioned and it works! Thank you. |
Reproducible demo: https://github.com/vercel/next.js/tree/canary/examples/with-tailwindcss-emotion
Hi when I tried Xwind with the latest version of NextJs I got the error
Cannot read property 'theme' of undefined
The text was updated successfully, but these errors were encountered: