Skip to content
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

Property '__useParseTailwind' doesn't exist #5

Closed
jmeistrich opened this issue Apr 4, 2022 · 6 comments
Closed

Property '__useParseTailwind' doesn't exist #5

jmeistrich opened this issue Apr 4, 2022 · 6 comments
Labels
bug Something isn't working pending feedback

Comments

@jmeistrich
Copy link
Contributor

jmeistrich commented Apr 4, 2022

Hey, I see this is very new, but I love the idea and I'm excited to use it in a new project.

I'm getting a Property '__useParseTailwind' doesn't exist error when adding it to a React Native app, in the iOS simulator.

It happens both when using the babel plugin as 'tailwindcss-react-native/babel' or ['tailwindcss-react-native/babel', { platform: 'native' }]

@marklawlor
Copy link
Collaborator

Hi! Yes sorry this is still a work in progress. Can you please try version 0.0.11 which resolves a couple of issues.

Unfortunately I don't have immediate access to an iOS simulator, so I won't be able to test it for a little bit. I'm currently just testing with android simulator with Expo and on web with @expo/next-adapter.

I'm not sure if it helps but my test repo is https://github.com/marklawlor/solito-tailwind

@jmeistrich
Copy link
Contributor Author

Sorry, not working in 0.0.11. I'll give you some time to get the project going more :)

@marklawlor
Copy link
Collaborator

Cheers, just watch the repo for releases. I'll tag version 1.0.0 when its stable.

Just curious - are you using Expo or vanilla react-native?

@jmeistrich
Copy link
Contributor Author

I'm using vanilla react-native. I also tried it in react-native-web but had some other issues that I think are caused by the babel plugin trying to convert reactjs div elements. I've set a watch on the repo so I'll keep an eye on it :)

@marklawlor
Copy link
Collaborator

@jmeistrich I fixed an issue that caused babel asynchronous builds to produce a similar error message. Can you please try 0.0.14. That version will also skip trying to transform native elements.

@marklawlor marklawlor added bug Something isn't working pending feedback labels Apr 4, 2022
@jmeistrich
Copy link
Contributor Author

Great, it works now! I tried it in 0.0.15. Now that it works I'll post a few other issues I encountered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending feedback
Projects
None yet
Development

No branches or pull requests

2 participants