-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
[V4] - Issues Upgrading to 4.0.36 - Tailwind CLI, works in 4.0.1 #836
Comments
I am aware of issue #813 however none of those solutions were able to solve it, and since 4.0.1 is able to work I am thinking the issue is with 4.0.36 breaking :) |
Having this issue and working version for me seems to be Literally the bare minimum version for me because this is the version And lo and behold, there seems to be a commit that deals with the tailwind cli between 14 and 15. I tried passing 'npx tailwindcss' and 'yarn tailwindcss' to the After 4.0.15, |
After changing to |
Got 4.0.36 working! The problem was yarn. I got away with using yarn v1 for far too long, but this seems to be the straw that broke the camel's back. Upgrading to yarn v4 seems to have fixed everything. nativewind@4.0.36 now working on my intel mac with the iOS simulator, as well as on Ubuntu with android simulator. Upgraded yarn like this:
|
I was using nvm and running the below command fixed it for me:
|
This works, thanks @sshodges. |
Describe the bug
Error running TailwindCSS CLI, please run the CLI manually to see the error.
I have a project running perfectly on ^4.0.1 however need to upgrade to the latest version of nativewind 4.0.36, after running into issues after installing 4.0.36, and forking the repo and running the expo example in the monorepo with the same error I am unsure how to fix.
In order to test if it was my repo that was the issue or nativewind I created a blank expo router project as follows
npm install nativewind@^4.0.36 react-native-reanimated tailwindcss
error stack in CLI is
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tailwind should run fine, if I downgrade to nativwind 4.0.1 it no has issues and compiles the tailwind completely fine, however of course want to be on latest version to use it best
Expo Snack
this repo can be cLoned here or the steps above to make a fresh project from expo router
Additional context
I have troubleshooted my project by removing nativewind and it worked, adding nativewind 4.0.1 and it works fine but not on 4.0.36,
I have also trouble shooted the tailwind itself via the recommended steps in the guide and by doing this
which outputs
indicating that the tailwind compilation is not having an error itself
I am out of ideas and have best tried to debug it including forking the nativewind lib and using it locally but to no avail, let me know if theres any questions or assistance I can give in debugging this, for now I'll continue in 4.0.1 :)
The text was updated successfully, but these errors were encountered: