Skip to content

react-consumer: dependency conflict with react #149

@rriemann

Description

@rriemann

I found this error when attempting to test the react-consumer app:

/ecl-webcomponents-react-consumer (ecl-v5-dev) [127]> toolbox run --container vitepress npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @ecl/ecl-webcomponents-react-consumer@0.25.3
npm error Found: vite@8.0.9
npm error node_modules/vite
npm error   dev vite@"8.0.9" from the root project
npm error   peer vite@"*" from @vitejs/devtools@0.1.15
npm error   node_modules/@vitejs/devtools
npm error     peerOptional @vitejs/devtools@"^0.1.0" from vite@8.0.9
npm error
npm error Could not resolve dependency:
npm error peer vite@"^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from @vitejs/plugin-react@4.7.0
npm error node_modules/@vitejs/plugin-react
npm error   dev @vitejs/plugin-react@"4.7.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 /home/rriemann/.npm/_logs/2026-04-25T09_41_40_700Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/rriemann/.npm/_logs/2026-04-25T09_41_40_700Z-debug-0.log

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