kimchouard / expo-nativewind-storybook-template

An Expo template with NativeWind styling & Storybook (incl. React Native & Web)
7 stars 2 forks source link

Unable to resolve .cache/nativewind/global.css #1

Open dimitrihartt opened 8 months ago

dimitrihartt commented 8 months ago

After doing this: npx create-expo-app --template expo-nativewind-template-storybook AwesomeStorybookForAllPlatforms

Did this: npm run web

Got this error: Your Expo app does not have a 'userInterfaceStyle' setting which can to confusing color scheme behavior. Please set a 'userInterfaceStyle' to remove this warning (recommended 'automatic'). https://docs.expo.dev/develop/user-interface/color-themes

Web Bundling failed 38265ms (node_modules/expo/AppEntry.js) Unable to resolve "/home/dimitrihartt/Dev/AwesomeStorybookForAllPlatforms/node_modules/.cache/nativewind/global.css" from "global.css"

Any clues?

Thank you!

useEffects commented 7 months ago

delete the nativewind cache in node_modules and restart