Skip to content

scrims that require react-markdown break locally #10

@JadAbouHawili

Description

@JadAbouHawili
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: Scrim-s06ivf6@undefined
npm error Found: react@19.0.0-rc-8b08e99e-20240713
npm error node_modules/react
npm error   react@"19.0.0-rc-8b08e99e-20240713" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@">=18" from react-markdown@9.0.1
npm error node_modules/react-markdown
npm error   react-markdown@"9.0.1" from the root project

upgrading to the latest react-markdown version (10.1.0) fails as well.

going to latest react, react-dom version would fix this dependency error:

npm i react@latest react-dom@latest

The error was taken from 03. React State/56. Format recipe response but /04. Side Effects/20. useEffect practice - scrollIntoView() is affected as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions