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
Error: Use process(css).then(cb) to work with async plugins (RN 0.72.X) #498
Comments
@Cnordbo I'm having the same issue at the moment. If you find a fix in the meantime could you please let us know here? |
Experiencing same issue here as well... |
Tailwindcss published a breaking change as a minor version. Please lock your |
Can confirm this fixed it for me, thanks @marklawlor ! |
It worked for me... Thanks @marklawlor |
Worked for me as well! Thanks a lot @marklawlor :) |
It Worked for me as well! Thanks a lot @marklawlor :) |
Still having the same issue, expo 48, tailwind 3.3.2?
Failing to build on expo |
Issue persists on RN CLI @marklawlor. Tried |
If your still having this issue, then you should manually check inside your node_modules at the package.json version of tailwindcss and use commands like If you still have the issue after manual verification then provide a link to your repo. |
Thanks @marklawlor. After doing some digging and testing, seems the issue on end was cache related. Did some deep cleaning, re-installed everything, and now it working correctly. |
Ahhh finally solved, had to remove the |
I'm using Expo + expo-router + Nx. It was solved just removing |
It worked Great for me. Thanks @marklawlor |
@marklawlor I just upgraded to nativewind@4.0.0-alpha.25 and tailwindcss@3.3.4 (new) and this problem seems to be fixed! |
any idea if this will be fixed for nativewind v2 and newer versions of tailwind, 3.3.5 for example? v2 + 3.3.5 still errors |
v2 most likely will not be updated as I simply don't have the capacity. If someone backports the work from v4 back to v2 I'll merge it. |
ah, I thought it was a bug in tailwind. is the recommended version v4 now? |
It worked for me... Thanks @marklawlor |
It worked for me Thank you as of today 3.3.2 is the stable higher version break expo |
@bndkt Hey! I tried upgrading to nativewind v4 from v2. Any chance you've encountered this? |
So, any ideas on how to use the latest version of NativeWind with Expo 49 and expo-router? Edited: |
solution. change the pakage.json old new then, run this commande npm install it's worked for me |
I have same issue, and just add presets: ['babel-preset-expo'], and worked fine |
Thanks, it works for me |
Hey Everyone!
|
Whats the situation going forward, is it gna be possible to upgrade to latest tailwind at some point? |
We'll see @JClackett |
This should probably be added to the docs. I just ran into this issue with a new project. |
Why is this closed? |
have you been able to fix it? I have also run into this issue |
This is the solution, downgrading and locking the version: #498 (comment) |
I think the goal is for us to all move to Nativewind v4, which is not released as the default version but is available to install manually ( Unfortunately for us, Nativewind eliminated the The v4 docs https://www.nativewind.dev/v4/overview/ don't include any upgrade instructions either. |
I encountered the same issue with expo router. Switching to Nativewind v4 and following the installation docs has worked fine. Consider these points:
|
Guys, in my case, what was causing this error was a dependency of "Prettier", specifically this one: "eslint-plugin-tailwindcss": "^3.13.0". Removing this dependency, the code compiles correctly with version 3.3.2 of Tailwind. |
Hi everyone, I'm having a problem with the Android build. It was running smoothly but after changing the folder name to Does anyone know what it could be? I'm going to remove the parentheses to see if it solves it, but in any case it's strange, it could even be something in the
|
It's probably the same issue as everyone else:
|
thanks @derek-primumco, but I removed nativewind completely, before that I had already generated several builds that worked perfectly and that started to give errors out of nowhere, I can't afford to use the library and have to change everything later, the idea is very good but... the packages were in the right version and the build still gave an error |
@andres-dos-santos Welcome to React Native / Expo development... This kind of stuff happens for no reason every few weeks. 😊 I'll try to post back after we tackle the Nativewind 4 update to see if I have any tips to share. 👋 |
I tried everything still th error presist |
{ |
Describe the bug
Nativewind/babel - Complaining about async plugin after updating to version 0.72.X
Exact error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected the app to load with styling
Screenshots
Additional context
Occured after upgrading from 0.71.X to 0.72.X
Stack traces are inconsistent in how they show up, so i was unable to get a full stack trace during the test project. But the issue seems to be related to how
postcss
is used.The text was updated successfully, but these errors were encountered: