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

Unsupported Tailwind class, not responding on rect native #187

Open
gmako6 opened this issue Oct 16, 2022 · 5 comments
Open

Unsupported Tailwind class, not responding on rect native #187

gmako6 opened this issue Oct 16, 2022 · 5 comments

Comments

@gmako6
Copy link

gmako6 commented Oct 16, 2022

Screen Shot 2022-10-16 at 10 24 12 AM

Screen Shot 2022-10-16 at 10 27 30 AM

Unsupported Tailwind class: "h-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:9:37 in Home
at node_modules/react-native/Libraries/ReactNative/renderApplication.js:80:51 in renderApplication
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:119:25 in runnables.appKey.run
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:25 in runApplication

Unsupported Tailwind class: "pt-12"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:11:31 in Home
at node_modules/react-native/Libraries/ReactNative/renderApplication.js:80:51 in renderApplication
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:119:25 in runnables.appKey.run
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:25 in runApplication

Unsupported Tailwind class: "items-center"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:11:31 in Home
at node_modules/react-native/Libraries/ReactNative/renderApplication.js:80:51 in renderApplication
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:119:25 in runnables.appKey.run
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:25 in runApplication

Unsupported Tailwind class: "rounded-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:12:33 in Home
at node_modules/react-native/Libraries/ReactNative/renderApplication.js:80:51 in renderApplication
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:119:25 in runnables.appKey.run
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:25 in runApplication

Unsupported Tailwind class: "px-3"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:12:33 in Home
at node_modules/react-native/Libraries/ReactNative/renderApplication.js:80:51 in renderApplication
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:119:25 in runnables.appKey.run
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:25 in runApplication

Unsupported Tailwind class: "py-1"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:12:33 in Home
at node_modules/react-native/Libraries/ReactNative/renderApplication.js:80:51 in renderApplication
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:119:25 in runnables.appKey.run
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:25 in runApplication

Unsupported Tailwind class: "bg-blue-200"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:12:33 in Home
at node_modules/react-native/Libraries/ReactNative/renderApplication.js:80:51 in renderApplication
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:119:25 in runnables.appKey.run
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:25 in runApplication

Unsupported Tailwind class: "text-blue-600"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:13:35 in Home
at node_modules/react-native/Libraries/ReactNative/renderApplication.js:80:51 in renderApplication
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:119:25 in runnables.appKey.run
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:213:25 in runApplication

Unsupported Tailwind class: "h-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:9:37 in Home

Unsupported Tailwind class: "items-center"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:11:31 in Home

Unsupported Tailwind class: "pt-12"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:11:31 in Home

Unsupported Tailwind class: "bg-blue-200"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:12:33 in Home

Unsupported Tailwind class: "px-3"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:12:33 in Home

Unsupported Tailwind class: "rounded-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:12:33 in Home

Unsupported Tailwind class: "text-blue-600"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:13:35 in Home

Unsupported Tailwind class: "py-1"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at Home.js:12:33 in Home

Unsupported Tailwind class: "h-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "pt-12"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "items-center"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "px-3"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "bg-blue-200"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "text-blue-600"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "py-1"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "rounded-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "h-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "pt-12"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "items-center"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "bg-blue-200"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "py-1"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "px-3"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "rounded-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "text-blue-600"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "h-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "pt-12"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "bg-blue-200"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "px-3"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "items-center"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "text-blue-600"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "py-1"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "rounded-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "h-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "pt-12"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "items-center"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "bg-blue-200"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "px-3"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "py-1"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "rounded-full"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

Unsupported Tailwind class: "text-blue-600"
at node_modules/tailwind-rn/dist/create.js:35:28 in tailwind
at node_modules/react-native/Libraries/Core/setUpReactRefresh.js:43:45 in Refresh.performReactRefresh
at node_modules/metro-runtime/src/polyfills/require.js:645:37 in setTimeout$argument_0

@tanzeel152
Copy link

yarn dev:tailwind solved my issue

@mashwishi
Copy link

up for this issue

@SorenJ89
Copy link

SorenJ89 commented Feb 20, 2023

This started happening to me as well. On a project that has worked for several weeks :(

yarn dev:tailwind solved my issue

I was already doing this.

my tailwind.config.js looks like this
image

And all my components are inside "screens"
image

for some reason my tailwind.css has used some colors, but don't want to use others.
image

@SorenJ89
Copy link

Well i found out my issue. I thought i was smart and allowed the parent component to switch the color scheme through a color selection prop.
image

This worked all fine since the color was already defined in tailwind.css, but when the css file got cleared somehow, tailwind woudn't define the bg-gray-400 because of course it didn't know i was using it until my code ran..

Lesson learned.

@MaximeVictoir
Copy link

I'm running in the same problem. I am using npm run dev:tailwind but I keep on getting: Unsupported Tailwind class: "h-full".
I wrapped the root of the app as such:


<Stack.Navigator>
<Stack.Screen options={{headerShown: false}} name="welcome" component={WelcomeScreen} />
<Stack.Screen options={{headerShown: false}} name="login" component={LoginScreen} />
<Stack.Screen options={{headerShown: false}} name="forgotpassword" component={ForgotPassword} />
<Stack.Screen options={{headerShown: false}} name="register" component={Registration} />
<Stack.Screen options={{headerShown: false}} name="home" component={HomePage} />
</Stack.Navigator>


But I still end up with the same error message for any tailwind class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants