do you use typescript? you might need to create a nativewind-env.d.ts file with just this line in it:
/// <reference types="nativewind/types" />
and in your metro.config.js file, make sure you have this setup:
const { getDefaultConfig } = require("expo/metro-config");
const { withNativeWind } = require("nativewind/metro");
const config = getDefaultConfig(__dirname);
module.exports = withNativeWind(config,{ input: "./styles/global.css" });