Skip to content

Error: Tailwind CSS has not been configured with the NativeWind preset #1178

@ENGAhmedAbdelfattah

Description

@ENGAhmedAbdelfattah

Describe the bug
when using metro.config.js to work on the browser

`
const { getDefaultConfig } = require("expo/metro-config");
const { withNativeWind } = require("nativewind/metro");

const config = getDefaultConfig(__dirname);

module.exports = withNativeWind(config, { input: "./global.css" });

`

give me an error when starts and not work"
Error: Tailwind CSS has not been configured with the NativeWind preset

Screenshot 2024-11-02 000838

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions