Skip to content

Cannot find module 'react/compiler-runtime' #4783

@TendernessCJS

Description

@TendernessCJS

Description

Using platejs > 52.0.1 with react@18 will cause this. Unfortunately it is hard for me to update react@19 at this time.

Reproduction URL

No response

Reproduction steps

Create a new React 18 project.
Install Plate.js version >52.0.1.
Import and use any Plate component.
Start the development server or build the app.
Observe the error: Cannot find module 'react/compiler-runtime'.

Plate version

52.0.1

Slate React version

default

Screenshots

Logs

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions