Skip to content

[BUG] Error while installing module in React 19 #473

@ezzstar777

Description

@ezzstar777

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error react@"^19.1.1" from the root project
npm error peer react@"^18 || ^19" from @tanstack/[email protected]
npm error node_modules/@tanstack/react-query
npm error @tanstack/react-query@"^5.87.4" from the root project
npm error peer @tanstack/react-query@">=5.0.0" from [email protected]
npm error node_modules/connectkit
npm error connectkit@"" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"17.x || 18.x" from [email protected]
npm error node_modules/connectkit
npm error connectkit@"
" 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.

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