-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
TypeError: Invalid PostCSS Plugin found at: plugins[1] #2795
Comments
I had a similar issue. If you are using a postcss-loader you should also update that as well. Seemed to work for me after that.
|
Having a similar issue on Mac 10.15.7. Tried with stable node and latest v15.2.1 Error: [object Object] is not a PostCSS plugin |
@michalhudecek try with: |
Thanks Tailwind team for the 2.0 release! 🚀🎉 FYI, I was also getting Then I ran:
Now I'm getting: Versions:
Here's the stack trace: |
Yes, I tried that. It didn't help. |
Same here. |
@richardkmiller @MultiTijmes just comment this line |
Thanks @tolawho! That fixed it for me. I didn't know what I'd be missing without |
Thanks guys. It works for me now, including the tailwind/components. Sorry to say that I can't pinpoint the exact fix anymore, I tried a LOT of things yesterday. Upgraded vue-cli to v4, ran a new scaffold, re-implemented all my settings, tried installing tw2 the new way (postccs8), tried it the alternative way (2.0.1-compat), tried with @import vs @tailwind vs import through js. |
I've tried this in a new angular application and it worked for me |
I already wrote that it doesn't help :( |
For anyone seeing the error |
Yes, what @Negan1911 says seems applicable to my case. After resetting everything I didn't put that plugin back in; and that could very well be the reason it finally worked for me. Thx! |
This works for me, but after that, I got this error when compiling My setup: Rails 6
postcss.config.js
To compiling, I am using webpacker Any help? |
@Negan1911 That worked for me. After removing the It looks like the overall solution is to be sure you've removed the |
Hi @alessandrostein your issue sounds separate, but it seems like you're running out of memory? What if you remove |
@richardkmiller unfortunately I have the original issue and I don't use the |
Unrelated to your issue @jbbarth but |
@tance77 ah ok, thanks for the pointer! On my setup it seems the problem was due to autoprefixer 10. I had a hint with this article and indeed, downgrading autoprefixer to the latest 9.x (9.8.6) did the trick. |
I've updated everything and removed Tailwind UI, which fixed the issue of charCodeAt and plugin errors, however it seems that v2 constantly throws |
FWIW, I'd been facing with the same error but installing the PostCSS 7 compatibility build worked for me (likewise @JoseLAmador suggested above). |
A follow-up from my situation: although I got it to work with |
I don't know why but everything latest in one project working fine. But upgrading tailwindcss in an other project, not working at all. Same Inavalid Plugin issue :-\ |
There is problem with |
Closing, solution to original problem is to install the compatibility build: https://tailwindcss.com/docs/installation#post-css-7-compatibility-build |
Describe the problem:
I am following this Upgrade guide.
After running
npm install tailwindcss@latest postcss@latest autoprefixer@latest
, I start getting this error when runningnpm run serve
:TypeError: Invalid PostCSS Plugin found at: plugins[1]
I am using:
Link to a minimal reproduction:
Not sure how to reproduce this on other machines. I am on Windows 10, node v14.15.1.
The text was updated successfully, but these errors were encountered: