Skip to content

[V5] Error in Next 16: Module not found: Can't resolve 'nativewind/jsx-dev-runtime' #244

@albertcito

Description

@albertcito

When I added "jsxImportSource": "nativewind" to the tsconfig.json file. NextJS returns an error:

Module not found: Can't resolve 'nativewind/jsx-dev-runtime'

If I remove that value from tsconfig.json, the button is displayed, but without className, so no styles.

Reproduction

https://github.com/albertcito/turborepo

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