Skip to content

Broken Peer Dependencies in v1.8.0 #327

@mirkolenz

Description

@mirkolenz

When running npx ai-elements@1.8.0 (i.e., latest as of today) on a new project I get the following error:

While resolving: project@0.1.0
Found: react@19.2.3
node_modules/react
  react@"^19.2.0" from the root project

Could not resolve dependency:
peer react@"^16.3.2 || ^17.0.0" from ansi-to-react@6.1.6
node_modules/ansi-to-react
  ansi-to-react@"*" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Running npx ai-elements@1.7.0 works as expected.

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