-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Next.js errors Global CSS cannot be imported from within node_modules when importing tailwindcss/resolveConfig
#4681
Comments
Same issue since today so I downgrade to my previous version "tailwindcss": "2.1.4", |
I've tracked down the error to this line in |
I've attempted to use |
Exact same issue on my end. But on macOS Big Sur 11.4 and with node 14.17.1. |
Same for me the only solution I found as I wrote before was to downgrade version to 2.1.4 |
I got a bit different error when upgrading to next 11 and tailwind 2.2.2, downgrading back to 2.1.4 fixed it for me as well, maybe they are related
|
@kedarguy That seems like a different problem, you may want to file another issue. |
spend lot of time for it but the solution is stupid 😂 :
|
What version of Tailwind CSS are you using?
v2.20.0
What build tool (or framework if it abstracts the build tool) are you using?
Next.js 11.0.0
What version of Node.js are you using?
16.3.0
What browser are you using?
Chrome
What operating system are you using?
Ubuntu
Reproduction repository
https://github.com/sachinraja/tw-config-import-error-repro
Describe your issue
I get this error when Next.js attempts to compile a page importing
tailwindcss/resolveConfig
.The text was updated successfully, but these errors were encountered: