Skip to content

React 19 support? #1027

Open
Open
@adrianoresende

Description

Can someone install it with React 19 ?

npm i showdown  
                                                                                                                                                         6:43 - 26/01/25
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error   peer react@">=16.8.0" from @floating-ui/[email protected]
npm error   node_modules/@floating-ui/react-dom
npm error     @floating-ui/react-dom@"^2.0.0" from @radix-ui/[email protected]
npm error     node_modules/@radix-ui/react-popper
npm error       @radix-ui/react-popper@"1.2.1" from @radix-ui/[email protected]
npm error       node_modules/@radix-ui/react-menu
npm error         @radix-ui/react-menu@"2.1.4" from @radix-ui/[email protected]
npm error         node_modules/@radix-ui/react-dropdown-menu
npm error       3 more (@radix-ui/react-popover, @radix-ui/react-select, @radix-ui/react-tooltip)
npm error   peer react@"^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" from @radix-ui/[email protected]
npm error   node_modules/@radix-ui/react-arrow
npm error     @radix-ui/react-arrow@"1.1.1" from @radix-ui/[email protected]
npm error     node_modules/@radix-ui/react-popper
npm error       @radix-ui/react-popper@"1.2.1" from @radix-ui/[email protected]
npm error       node_modules/@radix-ui/react-menu
npm error         @radix-ui/react-menu@"2.1.4" from @radix-ui/[email protected]
npm error         node_modules/@radix-ui/react-dropdown-menu
npm error       3 more (@radix-ui/react-popover, @radix-ui/react-select, @radix-ui/react-tooltip)
npm error   52 more (@radix-ui/react-avatar, @radix-ui/react-checkbox, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@"^18.0.0" from [email protected]
npm error node_modules/cmdk
npm error   cmdk@"^1.0.0" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/react
npm error   peer react@"^18.0.0" from [email protected]
npm error   node_modules/cmdk
npm error     cmdk@"^1.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/adriano/.npm/_logs/2025-01-26T21_45_04_787Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/adriano/.npm/_logs/2025-01-26T21_45_04_787Z-debug-0.log

I installed it with --force but it doesn't work even with import showdown from "showdown"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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