Skip to content

Error: Use process(css).then(cb) to work with async plugins (RN 0.72.X) #498

Closed
@Cnordbo

Description

@Cnordbo

Describe the bug
Nativewind/babel - Complaining about async plugin after updating to version 0.72.X

Exact error:

Use process(css).then(cb) to work with async plugins

To Reproduce
Steps to reproduce the behavior:

  1. Setup a new react-native project using the CLI v0.72.X (npx react-native init nativewindTest)
  2. Set up nativewind according to the docs
  3. See error

Expected behavior
Expected the app to load with styling

Screenshots
image

Additional context
Occured after upgrading from 0.71.X to 0.72.X

Stack traces are inconsistent in how they show up, so i was unable to get a full stack trace during the test project. But the issue seems to be related to how postcss is used.

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