Skip to content

npm install failes #133

@becker-asano-hdm

Description

@becker-asano-hdm

Following the install instructions, after 'git clone' the 'npm install' gives me:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: openchatui@0.1.30
npm ERR! Found: react@19.1.0
npm ERR! node_modules/react
npm ERR!   react@"19.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18 || ~19.0.1 || ~19.1.2 || ^19.2.1" from @ai-sdk/react@2.0.143
npm ERR! node_modules/@ai-sdk/react
npm ERR!   @ai-sdk/react@"^2.0.39" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Ubuntu 25.05, npm 9.2.0 (just installed before)

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